ModelComponentCollection.IList.Item 属性
Gets or sets the element at the specified index.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Private Property Item ( _
index As Integer _
) As Object Implements IList.Item
Get
Set
用法
Dim instance As ModelComponentCollection
Dim index As Integer
Dim value As Object
value = CType(instance, IList).Item(index)
CType(instance, IList).Item(index) = value
Object IList.this[
int index
] { get; set; }
private:
virtual property Object^ Item[int index] {
Object^ get (int index) sealed = IList::Item::get;
void set (int index, Object^ value) sealed = IList::Item::set;
}
private abstract Item : Object with get, set
private override Item : Object with get, set
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- index
类型:System.Int32
The zero-based index of the element to get or set.
属性值
类型:System.Object
The element at the specified index.