Edit

Share via


IDebugDynamicFieldCOMPlus::GetTypeFromPrimitive

Retrieves a type given its primitive type.

Syntax

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.

See also