Compartilhar via


DkmRootVisualizedExpression.Type Property

Definition

[Optional] The type of the object being inspected. This is often the same type that is being referred to by the natvis entry that triggered the addin. However, it can also be a pointer or reference to the type, or even a base or derived class of the type. The addin should make no assumptions about what is in this string and should not attempt to parse it to obtain information about the object. Most addins should pass this string along through, as is to the 'Type' property of the evaluation result they create. However, an addin may choose to add additional annotations to the 'Type' string before returning it back. Except for a hint of what to put in the 'Type' field of the result, this string is irrelevant to the visualization of the object. Regardless of whether the original object is a pointer, reference, base type, or derived type, the supplied DkmExpressionValueHome will always identify the location of the object itself, never a pointer or reference to the object. An empty type string may be passed in here if the type of the evaluation result does not matter for the scenario in which the visualizer is being invoked.

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

public:
 property System::String ^ Type { System::String ^ get(); };
public:
 property Platform::String ^ Type { Platform::String ^ get(); };
public string Type { get; }
public string? Type { get; }
member this.Type : string
Public ReadOnly Property Type As String

Property Value

Applies to