共用方式為


RuntimeEntityType.FindIndexerProperty(Type) 方法

定義

傳回預設索引子屬性,如果存在, String 則會接受值。

public static System.Reflection.PropertyInfo? FindIndexerProperty (Type type);
static member FindIndexerProperty : Type -> System.Reflection.PropertyInfo
Public Shared Function FindIndexerProperty (type As Type) As PropertyInfo

參數

type
Type

要尋找索引子的型別。

傳回

索引子屬性或 null

適用於