what does this statement mean

iterate through all the DocTemplates in the App, use CWinApp::GetFirstDocTemplatePosition() and CWinApp::GetNextDocTemplate().

i want to access the doctemplate2 which i have registeredin the app class and display it in a window.

how should i iterate and get the pointer to this doctemplate ?

regards