語言

IndexExpression.Indexer 屬性

定義

若該表達式代表索引屬性,則取得 PropertyInfo 屬性,否則回傳 null。

public:
 property System::Reflection::PropertyInfo ^ Indexer { System::Reflection::PropertyInfo ^ get(); };
public System.Reflection.PropertyInfo Indexer { get; }
public System.Reflection.PropertyInfo? Indexer { get; }
member this.Indexer : System.Reflection.PropertyInfo
Public ReadOnly Property Indexer As PropertyInfo

屬性值

PropertyInfo對於屬性,若該表達式代表索引性質,否則為空。

適用於