Help Center

CStack.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

Returns the number of elements in the collection.

Reference

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