Επεξεργασία

Κοινή χρήση μέσω


IPersistFile.GetCurFile(String) Method

Definition

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.

public:
 void GetCurFile([Runtime::InteropServices::Out] System::String ^ % ppszFileName);
public void GetCurFile (out string ppszFileName);
abstract member GetCurFile : string -> unit
Public Sub GetCurFile (ByRef ppszFileName As String)

Parameters

ppszFileName
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.

Remarks

For more information, see the existing documentation for IPersistFile::GetCurFile in the MSDN library.

Applies to