Initializes values for a specified set of properties using a dictionary of name/value pairs.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Protected Overridable Sub InitializeValues ( _
values As IDictionary _
)
'使用
Dim values As IDictionary
Me.InitializeValues(values)
protected virtual void InitializeValues(
IDictionary values
)
protected:
virtual void InitializeValues(
IDictionary^ values
)
protected function InitializeValues(
values : IDictionary
)
Parameters
values
Type: System.Collections.IDictionaryA dictionary of property name/value pairs.
Remarks
The base implementation of this method simply iterates through each property and calls the InitializeValue method and passing in the appropriate name/value pair for each.
This method only needs to be overridden in cases where you use a different mechanism for storing property values.
This method is normally only called by the Initialize method.
Permissions
- 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.
See Also
Reference
DataConnectionProperties Class