Partager via


Item propriété (String)

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

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (dans Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    index As String _
) As Member
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres