Sdílet prostřednictvím


DataObjectIdentifierConverter.FormatPart – metoda

Zadaný identifikátor části formáty.

Obor názvů:  Microsoft.VisualStudio.Data
Sestavení:  Microsoft.VisualStudio.Data (v Microsoft.VisualStudio.Data.dll)

Syntaxe

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

Parametry

  • identifierPart
    Typ: System.Object
    Neformátovaný hodnota identifikátoru části.
  • withQuotes
    Typ: System.Boolean
    Označuje, zda formátovaný část je třeba uzavřít do uvozovek, v případě potřeby.

Vrácená hodnota

Typ: System.String
Vrátí zadaný identifikátor části jako formátovaný řetězec.

Výjimky

Výjimka Podmínka
ArgumentNullException

typeName Parametr má hodnotu null.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

DataObjectIdentifierConverter Třída

Microsoft.VisualStudio.Data – obor názvů