IRoSimpleMetaDataBuilder::SetParameterizedDelegate method

Assigns a parameterized delegate to the metadata builder.

Syntax

HRESULT SetParameterizedDelegate(
   GUID   piid,
   UINT32 numArgs
);

Parameters

  • piid
    Type: GUID

    The IID of the specified parameterized delegate type.

  • numArgs
    Type: UINT32

    The number of type arguments required by the specified parameterized delegate type.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method is only for the non-instantiated parameterized interface. Instances are handled by RoGetParameterizedTypeInstanceIID, and the caller does not need to parse them.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Roparameterizediid.h

See also

IRoSimpleMetaDataBuilder