Propriété IndexCollection.Item (Int32)

Gets an Index object in the collection by index number.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

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

value = instance(index)
public Index this[
    int index
] { get; }
public:
property Index^ default[int index] {
    Index^ get (int index);
}
member Item : Index
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.SqlServer.Management.Smo.Index
An Index object value that represents the index.

Exemples

Utilisation de collections

Voir aussi

Référence

IndexCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Smo