Share via


IReadOnlyTypeBase.GetDeclaredProperties メソッド

定義

この型で宣言されているすべてのスカラー プロパティを取得します。

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> GetDeclaredProperties ();
abstract member GetDeclaredProperties : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty>
Public Function GetDeclaredProperties () As IEnumerable(Of IReadOnlyProperty)

戻り値

宣言されたスカラー プロパティ。

注釈

このメソッドは、基本型で宣言されたプロパティを返しません。 同じプロパティを複数回処理しないように、すべての型を反復処理する場合に便利です。 を使用して GetProperties() 、基本型で宣言されたプロパティも返します。

適用対象