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