Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes the value of a specified connection property.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected Sub InitializeValue ( _
propertyName As String, _
value As Object _
)
protected void InitializeValue(
string propertyName,
Object value
)
protected:
void InitializeValue(
String^ propertyName,
Object^ value
)
member InitializeValue :
propertyName:string *
value:Object -> unit
protected function InitializeValue(
propertyName : String,
value : Object
)
Parameters
- propertyName
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 propertyName parameter is null. |
| InvalidCastException | The specified value cannot be converted to the property type. |
Remarks
This method is normally only called 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.