DkmInspectionContext.GetClrTypeName(DkmClrType, DkmClrCustomTypeInfo) Methode

Definition

Geben Sie den Typnamen in einem in der Sprache gültigen Format an, sofern die Syntax gültig ist. Diese Methode dient zum Erstellen gültiger vollständiger Namen mit Escapezeichen und Rückgabe von NULL, wenn keine gültige Syntax vorhanden ist.

Location-Einschränkung: die API muss von einer Monitor Komponente (Komponentenebene < 100.000) aufgerufen werden.

Diese API wurde in Visual Studio 15 RTM (dkmapiversion. VS15RTM) eingeführt.

public:
 System::String ^ GetClrTypeName(Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ ClrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo);
public:
 Platform::String ^ GetClrTypeName(Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ ClrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo);
std::wstring GetClrTypeName(Microsoft::VisualStudio::Debugger::Clr::DkmClrType const & ClrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo const & CustomTypeInfo);
public string GetClrTypeName (Microsoft.VisualStudio.Debugger.Clr.DkmClrType ClrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo CustomTypeInfo);
member this.GetClrTypeName : Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo -> string
Public Function GetClrTypeName (ClrType As DkmClrType, CustomTypeInfo As DkmClrCustomTypeInfo) As String

Parameter

ClrType
DkmClrType

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

CustomTypeInfo
DkmClrCustomTypeInfo

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

Gibt zurück

String

[Out, optional] Der Typname, wenn der Name als gültige Syntax dargestellt werden kann.

Gilt für