IDebugDynamicFieldCOMPlus::GetTypeFromPrimitive
Retrieves a type given its primitive type.
HRESULT GetTypeFromPrimitive(
DWORD dwCorElementType,
IDebugField** ppType
);
int GetTypeFromPrimitive(
uint dwCorElementType,
out IDebugField ppType
);
Parameters
dwCorElementType
[in] Value from the CorElementType Enumeration that represents the primitive type.ppType
[out] Returns the IDebugField that represents the type.
Return Value
If successful, returns S_OK; otherwise, returns an error code.