取得檔案的目前路徑。此路徑相對於根目錄。
命名空間: Microsoft.Synchronization.Files
組件: Microsoft.Synchronization.Files (在 microsoft.synchronization.files.dll)
語法
'宣告
Public ReadOnly Property CurrentFilePath As String
'用途
Dim instance As SkippedChangeEventArgs
Dim value As String
value = instance.CurrentFilePath
public string CurrentFilePath { get; }
public:
property String^ CurrentFilePath {
String^ get ();
}
/** @property */
public String get_CurrentFilePath ()
public function get CurrentFilePath () : String
屬性值
檔案的目前路徑 (相對於根目錄)。
備註
如果變更為 ChangeType.Rename,這將會是原本套用新名稱之前的路徑。
如果變更為 ChangeType.Create,這個值會是 null 參考 (在 Visual Basic 中為 Nothing)。
請參閱
參考
SkippedChangeEventArgs 類別
SkippedChangeEventArgs 成員
Microsoft.Synchronization.Files 命名空間