Share via


PropertyBaseExtensions.Format メソッド

定義

キー、インデックスなどに関する例外をスローする場合に役立つ など、指定されたプロパティの書式設定された文字列表現を作成します。プロパティを使用する。

public static string Format (this System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> properties, bool includeTypes = false);
static member Format : seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> * bool -> string
<Extension()>
Public Function Format (properties As IEnumerable(Of IReadOnlyPropertyBase), Optional includeTypes As Boolean = false) As String

パラメーター

properties
IEnumerable<IReadOnlyPropertyBase>

書式設定するプロパティ。

includeTypes
Boolean

true の場合、型名が文字列に含まれます。 既定値は、false です。

戻り値

文字列表記です。

適用対象