Item propriété (Int32)
Gets a ForeignKeyColumn object in the collection by index number.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As ForeignKeyColumn
Get
'Utilisation
Dim instance As ForeignKeyColumnCollection
Dim index As Integer
Dim value As ForeignKeyColumn
value = instance(index)
public ForeignKeyColumn this[
int index
] { get; }
public:
property ForeignKeyColumn^ default[int index] {
ForeignKeyColumn^ get (int index);
}
member Item : ForeignKeyColumn
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- index
Type : System. . :: . .Int32
An Int32 value that specifies the position of the ForeignKeyColumn object in the ForeignKeyColumnCollection collection.
Valeur de la propriété
Type : Microsoft.SqlServer.Management.Smo. . :: . .ForeignKeyColumn
A ForeignKeyColumn object value that represents the foreign key column.