Condividi tramite


Metodo AdoDotNetObjectIdentifierConverter.FormatPart

Formatta una parte specifica dell'identificatore; dove con il parametro di virgolette è true, questo metodo chiama il metodo QuoteIdentifier.

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

Sintassi

'Dichiarazione
Protected Overrides Function FormatPart ( _
    typeName As String, _
    identifierPart As Object, _
    withQuotes As Boolean _
) As String
protected override string FormatPart(
    string typeName,
    Object identifierPart,
    bool withQuotes
)
protected:
virtual String^ FormatPart(
    String^ typeName, 
    Object^ identifierPart, 
    bool withQuotes
) override
abstract FormatPart : 
        typeName:string * 
        identifierPart:Object * 
        withQuotes:bool -> string  
override FormatPart : 
        typeName:string * 
        identifierPart:Object * 
        withQuotes:bool -> string
protected override 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

AdoDotNetObjectIdentifierConverter Classe

Spazio dei nomi Microsoft.VisualStudio.Data.AdoDotNet

FormatPart