Partager via


DataConnectionProperties Constructor (IComparer, Char, Char)

Class constructor. Instantiates a parameterized instance of the DataConnectionProperties class that provides the ability to compare property names.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Sub New ( _
    propertyNameComparer As IComparer, _
    propertyNameValueSeparator As Char, _
    propertyEntrySeparator As Char _
)
public DataConnectionProperties(
    IComparer propertyNameComparer,
    char propertyNameValueSeparator,
    char propertyEntrySeparator
)
public:
DataConnectionProperties(
    IComparer^ propertyNameComparer, 
    wchar_t propertyNameValueSeparator, 
    wchar_t propertyEntrySeparator
)
new : 
        propertyNameComparer:IComparer * 
        propertyNameValueSeparator:char * 
        propertyEntrySeparator:char -> DataConnectionProperties
public function DataConnectionProperties(
    propertyNameComparer : IComparer, 
    propertyNameValueSeparator : char, 
    propertyEntrySeparator : char
)

Parameters

  • propertyNameValueSeparator
    Type: System.Char

    The character placed between the property name and property value in the connection string (for example, "=").

  • propertyEntrySeparator
    Type: System.Char

    The character placed between two property name/value pairs (for example, ";").

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Overload

Microsoft.VisualStudio.Data Namespace