Udostępnij za pośrednictwem


Właściwość ForeignKeyCollection.Item (Int32)

Pobiera ForeignKey obiektu kolekcja według numeru indeksu.

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

Składnia

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

value = instance(index)
public ForeignKey this[
    int index
] { get; }
public:
property ForeignKey^ default[int index] {
    ForeignKey^ get (int index);
}
member Item : ForeignKey
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.

Parametry

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.ForeignKey
A ForeignKey wartość obiektu, który reprezentuje klucz obcy.