Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes the value of a specified connection property.
Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
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
)
Parameters
- key
 Type: System.String
 The name of a property being initialized.
- value
 Type: System.Object
 The value to which the property is initialized.
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentNullException | The key parameter is nulla null reference (Nothing in Visual Basic). | 
Remarks
This method is normally called only by the InitializeValues(IDictionary) method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.