AdoDotNetObjectIdentifierConverter.FormatPart Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
By default, adds quotation marks to the identifier part if the format parameter reveals that quotation marks are required. Override to customize the formatting that is added to the identifier part.
protected:
override System::String ^ FormatPart(System::String ^ typeName, System::Object ^ identifierPart, Microsoft::VisualStudio::Data::Services::DataObjectIdentifierFormat format);
protected override string FormatPart (string typeName, object identifierPart, Microsoft.VisualStudio.Data.Services.DataObjectIdentifierFormat format);
override this.FormatPart : string * obj * Microsoft.VisualStudio.Data.Services.DataObjectIdentifierFormat -> string
Protected Overrides Function FormatPart (typeName As String, identifierPart As Object, format As DataObjectIdentifierFormat) As String
Parameters
- typeName
- String
A database object type.
- identifierPart
- Object
The name of the identifier part.
- format
- DataObjectIdentifierFormat
A value of the DataObjectIdentifierFormat enumeration. This value can be used to check whether the string is used for display purposes or requires quotation marks.
Returns
The formatted identifier part.