Propriété MemberCollection.Item (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 (en 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
- index
Type : System.String
The name of the Member to find.
Valeur de propriété
Type : Microsoft.AnalysisServices.AdomdClient.Member
The Member with the specified name.