CodeExpressionCollection.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 CodeExpression 物件在集合中指定的索引位置。
public:
property System::CodeDom::CodeExpression ^ default[int] { System::CodeDom::CodeExpression ^ get(int index); void set(int index, System::CodeDom::CodeExpression ^ value); };
public System.CodeDom.CodeExpression this[int index] { get; set; }
member this.Item(int) : System.CodeDom.CodeExpression with get, set
Default Public Property Item(index As Integer) As CodeExpression
參數
- index
- Int32
集合的零基索引可存取。
屬性值
每個有效索引都有一個 CodeExpression 物件。
例外狀況
參數 index 超出集合的有效索引範圍。
備註
此屬性是一個索引器,可用來存取該集合。