Partager via


Propriété AdomdRestrictionCollection.Item

Gets or sets the specified AdomdRestriction from the collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdRestrictionCollection class.

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

Syntaxe

'Déclaration
Public Default Property Item ( _
    index As Integer _
) As AdomdRestriction 
    Get 
    Set
'Utilisation
Dim instance As AdomdRestrictionCollection 
Dim index As Integer 
Dim value As AdomdRestriction 

value = instance(index)

instance(index) = value
public AdomdRestriction this[
    int index
] { get; set; }
public:
property AdomdRestriction^ default[int index] {
    AdomdRestriction^ get (int index);
    void set (int index, AdomdRestriction^ value);
}
member Item : AdomdRestriction with get, set
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
The element at the specified index.

Voir aussi

Référence

AdomdRestrictionCollection Classe

Espace de noms Microsoft.AnalysisServices.AdomdClient