Share via


IDkmClrFormatter Interface

Definition

Formats values and type names of evaluation results into string appropriate for the language being debugged. Compiler vendors can implement this interface to customize value formatting for their language.

Implementations of this interface may restrict when they are called using a filter defined in their component configuration. The following properties may be used: CompilerVendorId, LanguageId.

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

public interface class IDkmClrFormatter
public interface class IDkmClrFormatter
__interface IDkmClrFormatter
public interface IDkmClrFormatter
type IDkmClrFormatter = interface
Public Interface IDkmClrFormatter

Methods

GetTypeName(DkmInspectionContext, DkmClrType, DkmClrCustomTypeInfo, ReadOnlyCollection<String>)

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.

GetUnderlyingString(DkmClrValue, DkmInspectionContext)

Get the underlying string representation of the value.

GetValueString(DkmClrValue, DkmInspectionContext, ReadOnlyCollection<String>)

Get the value string to display in the UI for the given DkmClrValue.

HasUnderlyingString(DkmClrValue, DkmInspectionContext)

Determines if this value has an underlying string representation. If this method returns true, the user can use string visualizers to view this value in the debugger. GetUnderlyingString should return the underlying string representation.

Applies to