Partager via


Propriété PropertyCollection.Item (Int32)

Obtient le Property spécifié de la collection PropertyCollection par son index. Dans Microsoft Visual C#, cette propriété est l'indexeur de la classe PropertyCollection.

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

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Property 
    Get
'Utilisation
Dim instance As PropertyCollection 
Dim index As Integer 
Dim value As [Property]

value = instance(index)
public Property this[
    int index
] { get; }
public:
property Property^ default[int index] {
    Property^ get (int index);
}
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

  • index
    Type : Int32
    Index de base zéro du Property à rechercher.

Valeur de propriété

Type : Microsoft.AnalysisServices.AdomdServer.Property
Property au niveau de l'index spécifié.

Voir aussi

Référence

PropertyCollection Classe

Surcharge Item

Espace de noms Microsoft.AnalysisServices.AdomdServer