次の方法で共有


IEnumDebugCustomAttributes::GetCount

Gets the number of custom attributes in an enumerator.

HRESULT GetCount( 
   ULONG* pcelt
);
int GetCount(
   out uint pcelt
);

Parameters

  • pcelt
    [out] Returns the number of elements in the enumeration.

Return Value

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

Remarks

This method is not part of the customary COM enumeration interface which specifies that only Next, Clone, Skip, and Reset need to be implemented.

See Also

Reference

IEnumDebugCustomAttributes