Udostępnij za pośrednictwem


COleDocument::GetStartPosition

Call this function to get the position of the first item in the document.

virtual POSITION GetStartPosition( ) const;

Return Value

A POSITION value that can be used to begin iterating through the document's items; NULL if the document has no items.

Remarks

Pass the value returned to GetNextItem, GetNextClientItem, or GetNextServerItem.

Requirements

Header: afxole.h

See Also

Reference

COleDocument Class

Hierarchy Chart

COleDocument::GetNextItem

COleDocument::GetNextClientItem

COleDocument::GetNextServerItem

Other Resources

COleDocument Members