IPropertyBase.GetGetter 方法

定義

IClrPropertyGetter取得 ,用於讀取這個屬性的值。

public Microsoft.EntityFrameworkCore.Metadata.IClrPropertyGetter GetGetter ();
abstract member GetGetter : unit -> Microsoft.EntityFrameworkCore.Metadata.IClrPropertyGetter
Public Function GetGetter () As IClrPropertyGetter

傳回

存取子。

備註

請注意,針對陰影屬性呼叫這個方法 () IsShadowProperty() 是一個錯誤,因為這類屬性沒有相關聯的 MemberInfo

適用於