DataObjectIdentifierConverter.FormatPart(String, Object, Boolean) Method

Definition

Formats a specified identifier part.

protected:
 virtual System::String ^ FormatPart(System::String ^ typeName, System::Object ^ identifierPart, bool withQuotes);
protected virtual string FormatPart (string typeName, object identifierPart, bool withQuotes);
abstract member FormatPart : string * obj * bool -> string
override this.FormatPart : string * obj * bool -> string
Protected Overridable Function FormatPart (typeName As String, identifierPart As Object, withQuotes As Boolean) As String

Parameters

typeName
String

The name of the data object type.

identifierPart
Object

The unformatted value of an identifier part.

withQuotes
Boolean

Indicates whether the formatted part should be enclosed in quotation marks, where necessary.

Returns

Returns the specified identifier part as a formatted string.

Exceptions

The typeName parameter is null.

Applies to