CodeAttributeArgumentCollection.Item[Int32] 屬性

定義

取得或設定 CodeAttributeArgument 物件在集合中指定的索引位置。

public:
 property System::CodeDom::CodeAttributeArgument ^ default[int] { System::CodeDom::CodeAttributeArgument ^ get(int index); void set(int index, System::CodeDom::CodeAttributeArgument ^ value); };
public System.CodeDom.CodeAttributeArgument this[int index] { get; set; }
member this.Item(int) : System.CodeDom.CodeAttributeArgument with get, set
Default Public Property Item(index As Integer) As CodeAttributeArgument

參數

index
Int32

收藏索引可供存取。

屬性值

每個有效索引都有A CodeAttributeArgument

例外狀況

參數 index 超出集合的有效索引範圍。

備註

此屬性是一個索引器,可用來存取該集合。

適用於