Function CSPTemplate::SetCurrentDirectory()

Description:
Sets the current directory for this object and for all the contained objects.

Prototype:
void SetCurrentDirectory(const CSPString& strDir);

Arguments:
  • const CSPString& strDir [IN]
    The current directory.



Return value:
No return value (void).

Examples:
Template.SetCurrentDirectory( Page.ScriptDirectory );
Template.LoadFromFile( "hello.tmpl" );

See also:
member function LoadFromFile()
member variable
CSPPage,ScriptDirectory,CSPPage::ScriptDirectory$$
CSPTemplate | Other support classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd