Builds a string version of an identifier.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Protected MustOverride Function BuildString ( _
typeName As String, _
identifierParts As String(), _
format As DataObjectIdentifierFormat _
) As String
'使用
Dim typeName As String
Dim identifierParts As String()
Dim format As DataObjectIdentifierFormat
Dim returnValue As String
returnValue = Me.BuildString(typeName, _
identifierParts, format)
protected abstract string BuildString(
string typeName,
string[] identifierParts,
DataObjectIdentifierFormat format
)
protected:
virtual String^ BuildString(
String^ typeName,
array<String^>^ identifierParts,
DataObjectIdentifierFormat format
) abstract
protected abstract function BuildString(
typeName : String,
identifierParts : String[],
format : DataObjectIdentifierFormat
) : String
Parameters
typeName
Type: System.StringThe name of a data object type.
identifierParts
Type: []An array of identifier parts in the expected format.
format
Type: Microsoft.VisualStudio.Data.Services.DataObjectIdentifierFormatA value from the enumeration DataObjectIdentifierFormat indicating the format of the string.
Return Value
Type: System.String
A string version of an identifier.
Remarks
The enumeration DataObjectIdentifierFormat has the following values: None, Default, WithQuotes, and ForDisplay.
Notes to Inheritors:
The derived class must implement this 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
DataObjectIdentifierConverter Class