CWinApp::GetFirstDocTemplatePosition

获取位置第一个文档在应用程序的模板。

POSITION GetFirstDocTemplatePosition( ) const;

返回值

可以为迭代或对象指针检索使用的 POSITION 值; NULL,如果列表为空。

备注

使用 POSITION 值返回到调用 GetNextDocTemplate 获取第一 CDocTemplate 对象。

要求

Header: afxwin.h

请参见

参考

CWinApp选件类

层次结构图

CWinApp::AddDocTemplate

CWinApp::GetNextDocTemplate