AdoDotNetObjectIdentifierConverter.FormatPart Method

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.

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

Syntax

'宣言
Protected Overrides Function FormatPart ( _
    typeName As String, _
    identifierPart As Object, _
    format As DataObjectIdentifierFormat _
) As String
'使用
Dim typeName As String
Dim identifierPart As Object
Dim format As DataObjectIdentifierFormat
Dim returnValue As String

returnValue = Me.FormatPart(typeName, _
    identifierPart, format)
protected override string FormatPart(
    string typeName,
    Object identifierPart,
    DataObjectIdentifierFormat format
)
protected:
virtual String^ FormatPart(
    String^ typeName, 
    Object^ identifierPart, 
    DataObjectIdentifierFormat format
) override
protected override function FormatPart(
    typeName : String, 
    identifierPart : Object, 
    format : DataObjectIdentifierFormat
) : String

Parameters

  • identifierPart
    Type: System.Object

    The name of the identifier part.

Return Value

Type: System.String

The formatted identifier part.

Permissions

See Also

Reference

AdoDotNetObjectIdentifierConverter Class

AdoDotNetObjectIdentifierConverter Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace