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