Share via


DkmNativeCppType Class

Definition

Represents a symbol for a C++ type.

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

Derived classes: DkmNativeCppArrayType, DkmNativeCppEnumType, DkmNativeCppPrimitiveType, DkmNativeCppFunctionType, DkmNativeCppPointerType, DkmNativeCppReferenceType, DkmNativeCppUserDefinedType

public ref class DkmNativeCppType abstract : Microsoft::VisualStudio::Debugger::DkmDataContainer
[System.Runtime.InteropServices.Guid("01c147c7-e7f1-5dcc-1f34-fc346e482bfa")]
public abstract class DkmNativeCppType : Microsoft.VisualStudio.Debugger.DkmDataContainer
[<System.Runtime.InteropServices.Guid("01c147c7-e7f1-5dcc-1f34-fc346e482bfa")>]
type DkmNativeCppType = class
    inherit DkmDataContainer
Public MustInherit Class DkmNativeCppType
Inherits DkmDataContainer
Inheritance
Inheritance
DkmNativeCppType
Derived
Attributes

Properties

Id

Unique identifier for this type, across all modules loaded in this debug session.

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

InspectionSession

The inspection session which controls the lifetime of this symbol object.

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

IsUnloaded

Returns true if a 'unloaded' event has been raised for this object (example: DkmThread::Unload is called) or if the object has been closed. Note that care must be used when checking this status as, without synchronization, the returned status may no longer be accurate the instruction after it is read.

(Inherited from DkmDataContainer)
Qualifiers

const/volatile qualifiers on this type.

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

Size

The size, in bytes, of an object of this type.

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

TagValue

DkmNativeCppType is an abstract base class. This enum indicates which derived class this object is an instance of.

Methods

GetArrayType(Int32, DkmNativeCppCVQualifiers)

Creates a C++ array type.

Location constraint: API must be called from an IDE component (component level > 100,000).

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

GetDataItem<T>()

Gets the instance of 'T' which has been added to this container instance. If this container does not contain a 'T', this function will return null.

(Inherited from DkmDataContainer)
GetPointerType(DkmNativeCppCVQualifiers)

Creates a C++ pointer type.

Location constraint: API must be called from an IDE component (component level > 100,000).

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

GetReferenceType(Boolean, DkmNativeCppCVQualifiers)

Creates a C++ pointer type.

Location constraint: API must be called from an IDE component (component level > 100,000).

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

GetSymbolInterface()

Obtains a pointer to the IDiaSymbol object, when available, that backs this member. For non-class/struct/union types, a dia symbol may or may not be available, depending on how the type got created.

Location constraint: API must be called from an IDE component (component level > 100,000).

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

RemoveDataItem<T>()

Remove the instance of 'T' from this container. It is usually unnecessary to call this method as a data container will automatically be emptied when the object is closed.

(Inherited from DkmDataContainer)
SetDataItem<T>(DkmDataCreationDisposition, T)

Place a new item in the data container.

(Inherited from DkmDataContainer)

Applies to