Share via


DkmInspectionContext.GetTypeName Method

Definition

Gets the type name string to display in the UI for the given DkmClrType. This method will always return a value and is used in variable inspection windows.

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

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 System::String ^ GetTypeName(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.Clr.DkmClrType ClrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo CustomTypeInfo, System.Collections.ObjectModel.ReadOnlyCollection<string> FormatSpecifiers);
public string GetTypeName (Microsoft.VisualStudio.Debugger.Clr.DkmClrType ClrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo? CustomTypeInfo, System.Collections.ObjectModel.ReadOnlyCollection<string>? FormatSpecifiers);
member this.GetTypeName : Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo * System.Collections.ObjectModel.ReadOnlyCollection<string> -> string
Public Function GetTypeName (ClrType As DkmClrType, CustomTypeInfo As DkmClrCustomTypeInfo, FormatSpecifiers As ReadOnlyCollection(Of String)) As String

Parameters

ClrType
DkmClrType

[In] The type to get the name for.

CustomTypeInfo
DkmClrCustomTypeInfo

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

FormatSpecifiers
ReadOnlyCollection<String>

[In,Optional] The optional format specifier(s) to use when formatting this result.

Returns

[Out] The type name string.

Applies to