RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStack.TEnumerator.DoGetCurrent Method

Returns the currently focused element in the container.

Pascal
function DoGetCurrent: T; override;
C++
virtual __fastcall T DoGetCurrent();

Implement DoGetCurrent to return the currently focused element in the container. DoGetCurrent is the reader method for the Current property.  

DoGetCurrent is used together with DoMoveNext, giving the particular order in which the container is enumerated. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!