Share via


AppliedChangeEventArgs.OldFilePath Property

Gets the previous 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 OldFilePath As String
    Get
'Usage
Dim instance As AppliedChangeEventArgs
Dim value As String

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

Property Value

Type: System.String
The previous 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 previous path before the new name is applied.

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

See Also

Reference

AppliedChangeEventArgs Class

Microsoft.Synchronization.Files Namespace