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: StringIl nome del tipo di oggetto dati.
identifierPart
Tipo: ObjectIl valore senza formato di una parte dell'identificatore.
withQuotes
Tipo: BooleanIndica 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
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.