Share via


SendPacketsElement.FilePath 屬性

定義

取得使用 filepath 參數初始化 SendPacketsElement 物件時,要傳送檔案的檔名。

public:
 property System::String ^ FilePath { System::String ^ get(); };
public string? FilePath { get; }
public string FilePath { get; }
member this.FilePath : string
Public ReadOnly Property FilePath As String

屬性值

如果物件是以 參數初始化filepath,則為要傳送之SendPacketsElement檔案的檔名。

備註

屬性支援 FilePath 通用命名慣例 (UNC) 路徑。 如果檔案位於目前的工作目錄中,則不需要指定路徑資訊。

如果物件不是使用 filepath 參數初始化,SendPacketsElement則屬性的FilePath預設值為 null

適用於