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

适用于