Propriété PropertyCollection.Item (String)
Gets the specified Property from the PropertyCollection collection by its name. In Microsoft Visual C#, this property is the indexer for the PropertyCollection class.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As Property
Get
'Utilisation
Dim instance As PropertyCollection
Dim name As String
Dim value As [Property]
value = instance(name)
public Property this[
string name
] { get; }
public:
property Property^ default[String^ name] {
Property^ get (String^ name);
}
member Item : Property
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System.String
The name of the Property to find.
Valeur de propriété
Type : Microsoft.AnalysisServices.AdomdClient.Property
The Property with the specified name.