Share via


ModelComponentCollection.IList.Item Property

Gets or sets the element at the specified index.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Private Property Item ( _
    index As Integer _
) As Object Implements IList.Item 
    Get 
    Set
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • index
    Type: System.Int32
    The zero-based index of the element to get or set.

Property Value

Type: System.Object
The element at the specified index.

Implements

IList.Item[Int32]

See Also

Reference

ModelComponentCollection Class

Microsoft.AnalysisServices Namespace