IDkmClrFormatter.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.

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

Parameters

inspectionContext
DkmInspectionContext

[In] Options and target context to use while performing the inspection operation.

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