IXCLRDataValue::GetAssociatedType Method
Gets the type implicitly associated with this value (and its associated value). For pointers or reference values, this is the type pointed or referred to. For boxed values, this is the type of the contained value. For arrays, this is the element type. For other values, there is no associated type.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug
and ICorProfiler
APIs when possible.
Syntax
HRESULT GetAssociatedType(
[out] IXCLRDataTypeInstance **assocType
);
Parameters
assocType
[out] The type of the associated value.
Remarks
The provided method is part of the IXCLRDataValue
interface and corresponds to the 22nd slot of the virtual method table.
Requirements
Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7