RoleMemberCollection.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 RoleMemberCollection
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.