Compartir a través de


DataObjectIdentifierConverter.FormatPart (Método)

Da formato a una partición especificada del identificador.

Espacio de nombres:  Microsoft.VisualStudio.Data
Ensamblado:  Microsoft.VisualStudio.Data (en Microsoft.VisualStudio.Data.dll)

Sintaxis

'Declaración
Protected Overridable Function FormatPart ( _
    typeName As String, _
    identifierPart As Object, _
    withQuotes As Boolean _
) As String
protected virtual string FormatPart(
    string typeName,
    Object identifierPart,
    bool withQuotes
)
protected:
virtual String^ FormatPart(
    String^ typeName, 
    Object^ identifierPart, 
    bool withQuotes
)
abstract FormatPart : 
        typeName:string * 
        identifierPart:Object * 
        withQuotes:bool -> string  
override FormatPart : 
        typeName:string * 
        identifierPart:Object * 
        withQuotes:bool -> string
protected function FormatPart(
    typeName : String, 
    identifierPart : Object, 
    withQuotes : boolean
) : String

Parámetros

  • typeName
    Tipo: String

    El nombre del tipo de objeto de datos.

  • identifierPart
    Tipo: Object

    El valor sin formato de un elemento ID.

  • withQuotes
    Tipo: Boolean

    Indica si la parte determinada formato debe ir entre comillas, en caso necesario.

Valor devuelto

Tipo: String
Devuelve la parte especificada ID como una cadena con formato.

Excepciones

Excepción Condición
ArgumentNullException

El parámetro typeName es null.

Seguridad de .NET Framework

Vea también

Referencia

DataObjectIdentifierConverter Clase

Microsoft.VisualStudio.Data (Espacio de nombres)