共用方式為


CWinApp::GetFirstDocTemplatePosition

取得第一個文件範本的位置在應用程式。

POSITION GetFirstDocTemplatePosition( ) const;

傳回值

可以針對反覆項目或物件指標擷取使用的 位置 值; NULL ,如果清單是空的。

備註

使用 位置 值傳回至呼叫 GetNextDocTemplate 取得第一 CDocTemplate 物件。

需求

Header: afxwin.h

請參閱

參考

CWinApp 類別

階層架構圖

CWinApp::AddDocTemplate

CWinApp::GetNextDocTemplate