FileSystemEventArgsHelper.IsDirectoryChanged(FileSystemEventArgs) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检查与目录更改事件是否相关
public:
[System::Runtime::CompilerServices::Extension]
static bool IsDirectoryChanged(System::IO::FileSystemEventArgs ^ fileSystemEventArgs);
public static bool IsDirectoryChanged (this System.IO.FileSystemEventArgs fileSystemEventArgs);
static member IsDirectoryChanged : System.IO.FileSystemEventArgs -> bool
<Extension()>
Public Function IsDirectoryChanged (fileSystemEventArgs As FileSystemEventArgs) As Boolean
参数
- fileSystemEventArgs
- FileSystemEventArgs
文件系统事件
返回
true 是目录更改事件