Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.