CodeNamespaceImportCollection.Item[Int32] 属性
定义
获取或设置集合中指定索引处的 CodeNamespaceImport 对象。Gets or sets the CodeNamespaceImport object at the specified index in the collection.
public:
property System::CodeDom::CodeNamespaceImport ^ default[int] { System::CodeDom::CodeNamespaceImport ^ get(int index); void set(int index, System::CodeDom::CodeNamespaceImport ^ value); };
public System.CodeDom.CodeNamespaceImport this[int index] { get; set; }
member this.Item(int) : System.CodeDom.CodeNamespaceImport with get, set
Default Public Property Item(index As Integer) As CodeNamespaceImport
参数
- index
- Int32
要访问的集合的索引。The index of the collection to access.
属性值
位于每个有效索引位置的 CodeNamespaceImport 对象。A CodeNamespaceImport object at each valid index.
例外
index 参数超出集合的有效索引范围。The index parameter is outside the valid range of indexes for the collection.