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)
Parameters
- ppszFileName
-
Type:
System::String^%
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
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1