DkmInspectionContext.GetClrTypeName(DkmClrType, DkmClrCustomTypeInfo) Method

Definition

Get the type name in a form valid in the language, if valid syntax. This method is for constructing valid full names with the ability to escape/return null if there is not a valid syntax.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

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);
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

Parameters

ClrType
DkmClrType

[In] The type to get the name for.

CustomTypeInfo
DkmClrCustomTypeInfo

[In,Optional] The information provided by the expression compiler for identifying compiler intrinsic type information.

Returns

[Out,Optional] The type name if the name can be represented as valid syntax.

Applies to