Share via


DataObjectIdentifierConverter Constructor (array<String , Char, Char)

Initializes a parameterized instance of the DataObjectIdentifierConverter class with the specified configuration.

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

Syntax

'Declaration
Public Sub New ( _
    reservedWords As String(), _
    quote As Char, _
    separator As Char _
)
public DataObjectIdentifierConverter(
    string[] reservedWords,
    char quote,
    char separator
)
public:
DataObjectIdentifierConverter(
    array<String^>^ reservedWords, 
    wchar_t quote, 
    wchar_t separator
)
new : 
        reservedWords:string[] * 
        quote:char * 
        separator:char -> DataObjectIdentifierConverter
public function DataObjectIdentifierConverter(
    reservedWords : String[], 
    quote : char, 
    separator : char
)

Parameters

  • reservedWords
    Type: array<System.String[]
    An array of strings that are considered reserved and should always be quoted if included in an identifier.
  • quote
    Type: System.Char
    The character that should be used to quote identifier parts.
  • separator
    Type: System.Char
    The character that separates identifier parts.

Remarks

Call this constructor when a data source has a very simple identifier format, or perhaps doesn't have any concept of identifiers but still requires some way to identify each object (DDEX requires that all data objects have some n-part identifier).

.NET Framework Security

See Also

Reference

DataObjectIdentifierConverter Class

DataObjectIdentifierConverter Overload

Microsoft.VisualStudio.Data Namespace