Share via


MemberCollection.Item Property (String)

Gets the specified Member from the collection by its name. In C#, this property is the indexer for the MemberCollection class.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As String _
) As Member
    Get
'Usage
Dim instance As MemberCollection
Dim index As String
Dim value As Member

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

Parameters