Help Center

CQueue.Clearmethod

Removes all the elements in the collection.

COMmethodCStack.incdocumented

Syntax

FUNCTION Clear () AS HRESULT

Return value

Returns S_OK on success, or an error HRESULT on failure.

Description

Removes all the elements in the collection.

Reference

  • Include file CStack.inc
  • Defined in AfxNova/CStack.inc:179
  • Documented in COM/Stacks and Queues.md
  • Topic: CStack Class