共用方式為


IDebugBinder3::GetTypeArgumentCount

This method returns the number of argument types associated with this object.

HRESULT GetTypeArgumentCount(
   UINT* uCount
);
int GetTypeArgumentCount(
   out uint uCount
);

Parameters

  • uCount
    [out] Number of argument types associated with this object.

Return Value

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

Remarks

The value returned by this method can be used to allocate an array for use with the IDebugBinder3::GetTypeArguments method.

See Also

Reference

IDebugBinder3

IDebugBinder3::GetTypeArguments