检索给定的类型其原始类型。
HRESULT GetTypeFromPrimitive(
DWORD dwCorElementType,
IDebugField** ppType
);
int GetTypeFromPrimitive(
uint dwCorElementType,
out IDebugField ppType
);
参数
dwCorElementType
[in] 表示基元类型从 CorElementType 枚举 的值。ppType
[out] 返回表示类型的 IDebugField 。
返回值
如果成功,则返回; S_OK否则,返回错误代码。