DataConnectionProperties.InitializeValues Method
Initializes values for a specified set of properties, using a dictionary of name/value pairs.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overridable Sub InitializeValues ( _
values As IDictionary(Of String, Object) _
)
protected virtual void InitializeValues(
IDictionary<string, Object> values
)
protected:
virtual void InitializeValues(
IDictionary<String^, Object^>^ values
)
abstract InitializeValues :
values:IDictionary<string, Object> -> unit
override InitializeValues :
values:IDictionary<string, Object> -> unit
protected function InitializeValues(
values : IDictionary<String, Object>
)
Parameters
values
Type: System.Collections.Generic.IDictionary<String, Object>A dictionary of property name/value pairs.
Remarks
The base implementation of this method simply iterates through each property and calls the InitializeValue method, passing in the appropriate name/value pair for each.
This method needs to be overridden only when you use a different mechanism for storing property values.
This method is normally called only by the Initialize 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.