获取已变更的文件的新路径。该路径是相对于根目录的。
命名空间: Microsoft.Synchronization.Files
程序集: Microsoft.Synchronization.Files(在 microsoft.synchronization.files.dll 中)
语法
声明
Public ReadOnly Property NewFilePath As String
用法
Dim instance As AppliedChangeEventArgs
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)。
请参阅
参考
AppliedChangeEventArgs 类
AppliedChangeEventArgs 成员
Microsoft.Synchronization.Files 命名空间