Share via


RuntimeTypeBase.GetDeclaredProperties メソッド

定義

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

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

戻り値

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

注釈

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

適用対象