Compartilhar via


IDebugTypeFieldBuilder::CreatePrimitive

Creates an object that represents a primitive type.

HRESULT CreatePrimitive (
   DWORD          dwElementType,
   IDebugField ** pTypeField
);
int CreatePrimitive (
   uint            dwElementType,
   out IDebugField pTypeField
);

Parameters

  • dwElementType
    [in] Value from the CorElementType Enumeration that represents the primitive type.

  • pTypeField
    [out] Returns the IDebugField interface for the new type.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugTypeFieldBuilder