Share via


DataObjectIdentifierConverter.FormatPart, méthode

Met en forme une partie spécifique de l'identificateur.

Espace de noms :  Microsoft.VisualStudio.Data
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
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

Paramètres

  • typeName
    Type : String

    Le nom du type d'objet de données.

  • identifierPart
    Type : Object

    La valeur non formatée d'une partie d'identificateur.

  • withQuotes
    Type : Boolean

    Indique si la partie mise en forme doit être entre guillemets, en cas de besoin.

Valeur de retour

Type : String
Retourne la partie spécifiée d'identificateur comme une chaîne mise en forme.

Exceptions

Exception Condition
ArgumentNullException

Le paramètre typeName est null.

Sécurité .NET Framework

Voir aussi

Référence

DataObjectIdentifierConverter Classe

Microsoft.VisualStudio.Data, espace de noms