DataConnectionProperties.InitializeValue Method
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.StringThe name of a property being initialized.
value
Type: System.ObjectThe 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 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.