Compartilhar via


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

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

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace