Compartir a través de


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

'Declaration
Protected Overrides Function FormatPart ( _
    typeName As String, _
    identifierPart As Object, _
    format As DataObjectIdentifierFormat _
) As String
protected override string FormatPart(
    string typeName,
    Object identifierPart,
    DataObjectIdentifierFormat format
)
protected:
virtual String^ FormatPart(
    String^ typeName, 
    Object^ identifierPart, 
    DataObjectIdentifierFormat format
) override
abstract FormatPart : 
        typeName:string * 
        identifierPart:Object * 
        format:DataObjectIdentifierFormat -> string  
override FormatPart : 
        typeName:string * 
        identifierPart:Object * 
        format:DataObjectIdentifierFormat -> string
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.

.NET Framework Security

See Also

Reference

AdoDotNetObjectIdentifierConverter Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace