Share via


DkmClrType Class

Definition

Represents a managed type.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

public ref class DkmClrType
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmClrType
[Windows::Foundation::Metadata::WebHostHidden]
class DkmClrType
[System.Runtime.InteropServices.Guid("837d21de-5f4c-e07c-0f1d-227f6422d67a")]
public class DkmClrType
[<System.Runtime.InteropServices.Guid("837d21de-5f4c-e07c-0f1d-227f6422d67a")>]
type DkmClrType = class
Public Class DkmClrType
Inheritance
DkmClrType
Attributes

Properties

AppDomain

The app domain of the type.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

ArrayRank

The rank of the array. This value is 0 if the type is not an array.

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

CorElementType

The CorElementType of this type.

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

ElementType

[Optional] The type of the object encompassed or referenced by this type given the type is an array, pointer or reference. This value is null if there is no element type.

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

FunctionPointerArgumentTypes

[Optional] If the current type is a function pointer, specifies the types of the arguments.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

FunctionPointerReturnType

[Optional] If the current type is a function pointer, specifies the return type of the function pointer.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

GenericArguments

[Optional] If the type is generic, specifies the generic arguments for the type.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

ModuleInstance

The module the type resides in. If the type resides in a synthetic assembly, this value will be a real module in the same AppDomain.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

RuntimeInstance

The process of the type.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

SyntheticMvid

If this type is synthetic and does not exist in the debuggee, this is the MVID of the module the type belongs to.

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

Token

The type def token of the type.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

Methods

Create(DkmClrAppDomain, Type)

[Required] Create a DkmClrType given an App Domain and LMR type. An LMR Type looks and behaves like a System.Type, but represents a type that exists in the process being debugged.

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

Create(DkmClrModuleInstance, Int32, ReadOnlyCollection<DkmClrType>, DkmClrType, UInt32, Int32, Guid, DkmClrType, ReadOnlyCollection<DkmClrType>)

Create a new DkmClrType object instance.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

Create(DkmClrModuleInstance, Int32, ReadOnlyCollection<DkmClrType>, DkmClrType, UInt32, Int32, Guid)

Create a new DkmClrType object instance.

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

Create(DkmClrModuleInstance, Int32, ReadOnlyCollection<DkmClrType>)

Create a new DkmClrType object instance.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

Create(Type)

[Required] Create a DkmClrType given an App Domain and LMR type. An LMR Type looks and behaves like a System.Type, but represents a type that exists in the process being debugged.

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

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

GetEvalAttributes()

Gets attributes on the type that affect the way variables are displayed in the debugger 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).

GetFavorites()

Gets the object favorites information for the type.

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

This API was introduced in Visual Studio 16 Update 4 (DkmApiVersion.VS16Update4).

GetLmrType()

[Required] Get the LMR type for this DkmClrType. An LMR Type looks and behaves like a System.Type, but represents a type that exists in the process being debugged.

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

ResolveMethodName(String, ReadOnlyCollection<DkmClrType>)

Resolves a method name belonging to a given class into a DkmClrMethodId.

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

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

Applies to