SkippedChangeEventArgs.CurrentFilePath 属性

获取文件的当前路径。该路径是相对于根目录的。

命名空间: Microsoft.Synchronization.Files
程序集: Microsoft.Synchronization.Files(在 microsoft.synchronization.files.dll 中)

语法

声明
Public ReadOnly Property CurrentFilePath As String
用法
Dim instance As SkippedChangeEventArgs
Dim value As String

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

属性值

文件的当前路径,相对于根目录。

备注

如果变更为 ChangeType.Rename,则该路径将为应用新名称前的路径。

如果变更为 ChangeType.Create,则此值将为 null 引用(在 Visual Basic 中为 Nothing)。

请参阅

参考

SkippedChangeEventArgs 类
SkippedChangeEventArgs 成员
Microsoft.Synchronization.Files 命名空间