Udostępnij za pośrednictwem


Właściwość Item (Int32)

Pobiera UserDefinedType obiektu kolekcja według numeru indeksu.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Syntax

'Deklaracja
Public ReadOnly Default Property Item ( _
    index As Integer _
) As UserDefinedType
    Get
'Użycie
Dim instance As UserDefinedTypeCollection
Dim index As Integer
Dim value As UserDefinedType

value = instance(index)
public UserDefinedType this[
    int index
] { get; }
public:
property UserDefinedType^ default[int index] {
    UserDefinedType^ get (int index);
}
member Item : UserDefinedType
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedType
A UserDefinedType wartość obiektu, który reprezentuje typ danych alias.