DataConnectionProperties.InitializeValue, méthode

Initialise la valeur d'une propriété de connexion spécifiée.

Espace de noms :  Microsoft.VisualStudio.Data.Framework
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
Protected Sub InitializeValue ( _
    key As String, _
    value As Object _
)
protected void InitializeValue(
    string key,
    Object value
)
protected:
void InitializeValue(
    String^ key, 
    Object^ value
)
member InitializeValue : 
        key:string * 
        value:Object -> unit
protected function InitializeValue(
    key : String, 
    value : Object
)

Paramètres

  • key
    Type : String

    Le nom d'une propriété initialisée.

  • value
    Type : Object

    Valeur à laquelle la propriété est initialisée.

Exceptions

Exception Condition
ArgumentNullException

Le paramètre key est nullune référence null (Nothing en Visual Basic).

Notes

Cette méthode est normalement appelée uniquement par la méthode InitializeValues.

Sécurité .NET Framework

Voir aussi

Référence

DataConnectionProperties Classe

Microsoft.VisualStudio.Data.Framework, espace de noms