IRoSimpleMetaDataBuilder::SetEnum method
Assigns an enumeration to the metadata builder.
Syntax
HRESULT SetEnum( PCWSTR name, PCWSTR baseType );
Parameters
- name
-
Type: PCWSTR
The fully qualified name of the specified enumeration type.
- baseType
-
Type: PCWSTR
The base type of the enumeration, as specified by the metadata.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The baseType of plain enumerations defaults to Int32. The baseType of flags enumerations defaults to UInt32.
Requirements
|
Minimum supported client |
Windows 8 |
|---|---|
|
Minimum supported server |
Windows Server 2012 |
|
Header |
|
See also