Share via


CDocTemplate::GetFirstDocPosition

virtual POSITION GetFirstDocPosition( ) const = 0;

Return Value

A POSITION value that can be used to iterate through the list of documents associated with this document template; or NULL if the list is empty.

Remarks

Use this function to get the position of the first document in the list of documents associated with this template. Use the POSITION value as an argument to CDocTemplate::GetNextDoc to iterate through the list of documents associated with the template.

CSingleDocTemplate and CMultiDocTemplate both override this pure virtual function. Any class you derive from CDocTemplate must also override this function.

CDocTemplate OverviewClass MembersHierarchy Chart

See Also   CDocTemplate::GetNextDoc, CSingleDocTemplate, CMultiDocTemplate