IndexExpression.Indexer 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若該表達式代表索引屬性,則取得 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對於屬性,若該表達式代表索引性質,否則為空。