Compartilhar via


DataConnectionProperties.InitializeValues Method

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

'Declaration
Protected Overridable Sub InitializeValues ( _
    values As IDictionary _
)
protected virtual void InitializeValues(
    IDictionary values
)
protected:
virtual void InitializeValues(
    IDictionary^ values
)
abstract InitializeValues : 
        values:IDictionary -> unit  
override InitializeValues : 
        values:IDictionary -> unit
protected function InitializeValues(
    values : IDictionary
)

Parameters

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.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data Namespace