IPersistFile.GetCurFile Method (String)
Retrieves either the absolute path to the current working file of the object or, if there is no current working file, the default file name prompt of the object.
Assembly: mscorlib (in mscorlib.dll)
When this method returns, contains the address of a pointer to a zero-terminated string containing the path for the current file, or the default file name prompt (such as *.txt). This parameter is passed uninitialized.
For more information, see the existing documentation for IPersistFile::GetCurFile in the MSDN library.
Available since 8
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1