UCOMIPersistFile.GetCurFile(String) Method

Definition

Retrieves either the absolute path to current working file of the object, or if there is no current working file, the default filename 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

The address of a pointer to a zero-terminated string containing the path for the current file, or the default filename prompt (such as *.txt).

Remarks

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

Applies to