IRoSimpleMetaDataBuilder::SetRuntimeClassParameterizedDefault method
Assigns a parameterized run-time class to the metadata builder.
Syntax
HRESULT SetRuntimeClassParameterizedDefault(
PCWSTR name,
UINT32 elementCount,
[in] PCWSTR defaultInterfaceNameElements
);
Parameters
name
Type: PCWSTRThe fully qualified name of the specified run-time class type.
elementCount
Type: UINT32The number of elements in the defaultInterfaceNameElements array.
defaultInterfaceNameElements [in]
Type: PCWSTRAn array, as would be returned by RoParseTypeName, that specified a parameterized type instance.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Header |
Roparameterizediid.h |