Partager via


Propriété SearchPropertyCollection.Item (Int32)

Gets a SearchProperty 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 SearchProperty 
    Get
'Utilisation
Dim instance As SearchPropertyCollection 
Dim index As Integer 
Dim value As SearchProperty 

value = instance(index)
public SearchProperty this[
    int index
] { get; }
public:
property SearchProperty^ default[int index] {
    SearchProperty^ get (int index);
}
member Item : SearchProperty
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.SearchProperty
A SearchProperty corresponding to the specified position within the SearchPropertyCollection.

Exemples

Utilisation de collections

Voir aussi

Référence

SearchPropertyCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Smo