Dela via


AppliedChangeEventArgs.NewFilePath Property

Gets the new path for the file that was changed. The path is relative to the root directory.

Namespace:  Microsoft.Synchronization.Files
Assembly:  Microsoft.Synchronization.Files (in Microsoft.Synchronization.Files.dll)

Syntax

'Declaration
Public ReadOnly Property NewFilePath As String
    Get
'Usage
Dim instance As AppliedChangeEventArgs
Dim value As String

value = instance.NewFilePath
public string NewFilePath { get; }
public:
property String^ NewFilePath {
    String^ get ();
}
member NewFilePath : string
function get NewFilePath () : String

Property Value

Type: System.String
The new path for the file that was changed. The path is relative to the root directory.

Remarks

If the change is ChangeType.Rename, this is the new path after the new name is applied.

If the change is ChangeType.Delete, this value is a null reference (Nothing in Visual Basic).

See Also

Reference

AppliedChangeEventArgs Class

Microsoft.Synchronization.Files Namespace