IDkmClrFormatter.GetTypeName(DkmInspectionContext, DkmClrType, DkmClrCustomTypeInfo, ReadOnlyCollection<String>) Methode

Definition

Ruft die Typnamen Zeichenfolge ab, die auf der Benutzeroberfläche für den angegebenen dkmclrtype angezeigt werden soll. Diese Methode gibt immer einen Wert zurück und wird in Variablen Inspektions Fenstern verwendet.

public:
 System::String ^ GetTypeName(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ clrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ customTypeInfo, System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ formatSpecifiers);
public string GetTypeName (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.Clr.DkmClrType clrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo customTypeInfo, System.Collections.ObjectModel.ReadOnlyCollection<string> formatSpecifiers);
abstract member GetTypeName : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo * System.Collections.ObjectModel.ReadOnlyCollection<string> -> string
Public Function GetTypeName (inspectionContext As DkmInspectionContext, clrType As DkmClrType, customTypeInfo As DkmClrCustomTypeInfo, formatSpecifiers As ReadOnlyCollection(Of String)) As String

Parameter

inspectionContext
DkmInspectionContext

In Optionen und Ziel Kontext, die beim Durchführen der Überprüfung verwendet werden sollen.

clrType
DkmClrType

In Der Typ, für den der Name zu erhalten ist.

customTypeInfo
DkmClrCustomTypeInfo

[In, optional] Die optionalen Informationen, die vom Ausdrucks Compiler zur Identifizierung von systeminternen compilertypinformationen bereitgestellt werden.

formatSpecifiers
ReadOnlyCollection<String>

[In, optional] Die optionalen Formatspezifizierer, die beim Formatieren dieses Ergebnisses verwendet werden sollen.

Gibt zurück

String

Vorgenommen Die Typnamen Zeichenfolge.

Gilt für