Item propriété (String)
Obtient un objet SyncSchemaForeignKey à partir de la collection en fonction d'un nom de contrainte de clé étrangère.
Espace de noms : Microsoft.Synchronization.Data
Assembly : Microsoft.Synchronization.Data (dans Microsoft.Synchronization.Data.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
foreignKeyName As String _
) As SyncSchemaForeignKey
Get
'Utilisation
Dim instance As SyncSchemaForeignKeys
Dim foreignKeyName As String
Dim value As SyncSchemaForeignKey
value = instance(foreignKeyName)
public SyncSchemaForeignKey this[
string foreignKeyName
] { get; }
public:
property SyncSchemaForeignKey^ default[String^ foreignKeyName] {
SyncSchemaForeignKey^ get (String^ foreignKeyName);
}
member Item : SyncSchemaForeignKey
Paramètres
- foreignKeyName
Type : System. . :: . .String
Nom de l'objet SyncSchemaForeignKey à retourner à partir de la collection SyncSchemaForeignKeys.
Valeur de la propriété
Type : Microsoft.Synchronization.Data. . :: . .SyncSchemaForeignKey
Objet SyncSchemaForeignKey de la collection portant le nom spécifié ; sinon, valeur Null si le nom de contrainte de clé étrangère n'existe pas.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | foreignKeyName est une null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) . |