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.
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Creates an object that represents a primitive type.
Syntax
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.