PropertyBaseExtensions.IsIndexerProperty(IPropertyBase) 方法

定義

取得值,指出這個 是否為索引子屬性。 索引子屬性是透過實體類別上的索引子存取的屬性。

public static bool IsIndexerProperty (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
static member IsIndexerProperty : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> bool
<Extension()>
Public Function IsIndexerProperty (property As IPropertyBase) As Boolean

參數

property
IPropertyBase

要檢查的屬性。

傳回

true 如果屬性是索引子屬性,則為 ,否則 false 為 。

適用於