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
'Usage
Dim instance As AppliedChangeEventArgs
Dim value As String

value = instance.OldFilePath
public string OldFilePath { get; }
public:
property String^ OldFilePath {
    String^ get ();
}
/** @property */
public String get_OldFilePath ()
public function get OldFilePath () : String

Property Value

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
AppliedChangeEventArgs Members
Microsoft.Synchronization.Files Namespace