Condividi tramite


Metodo DataObjectIdentifierConverter.FormatPart

Formatta una parte specifica dell'identificatore.

Spazio dei nomi:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Sintassi

'Dichiarazione
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

Parametri

  • typeName
    Tipo: String

    Il nome del tipo di oggetto dati.

  • identifierPart
    Tipo: Object

    Il valore senza formato di una parte dell'identificatore.

  • withQuotes
    Tipo: Boolean

    Indica se la parte formattata deve essere racchiusa tra virgolette, se necessario.

Valore restituito

Tipo: String
Restituisce la parte specifica dell'identificatore come una stringa formattata.

Eccezioni

Eccezione Condizione
ArgumentNullException

Il parametro typeName è null.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DataObjectIdentifierConverter Classe

Spazio dei nomi Microsoft.VisualStudio.Data