Proprietà PropertyCollection.Item (Int32)

Gets an object in the collection by index number.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Property 
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

  • index
    Tipo: System.Int32
    An Int32 value that specifies the position of the object in the collection.

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.Property
An object value that represents the property.

Esempi

Utilizzo delle raccolte

Vedere anche

Riferimento

PropertyCollection Classe

Overload Item

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Utilizzo delle raccolte