Share via


UCOMIPersistFile.GetCurFile(String) 方法

定義

擷取物件目前工作檔的絕對路徑,或者沒有目前工作檔的話,則擷取物件的預設檔案名稱提示。

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)

參數

ppszFileName
String

以零為結尾字串的指標位址,這字串含有目前檔案的路徑,或預設檔案名稱提示 (例如 *.txt)。

備註

如需詳細資訊,請參閱 MSDN 文件庫中的現有檔 IPersistFile::GetCurFile

適用於