Share via


AdomdPropertyCollection.Item Property

Gets or sets the specified AdomdProperty from the AdomdPropertyCollection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdPropertyCollection class.

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

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As AdomdProperty
    Get
    Set
'Usage
Dim instance As AdomdPropertyCollection
Dim index As Integer
Dim value As AdomdProperty

value = instance(index)

instance(index) = value
public AdomdProperty this[
    int index
] { get; set; }
public:
property AdomdProperty^ default[int index] {
    AdomdProperty^ get (int index);
    void set (int index, AdomdProperty^ value);
}
member Item : AdomdProperty with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.AdomdClient.AdomdProperty
The element at the specified index.