語言

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 。

適用於