PollingFileChangeToken.HasChanged 属性
定义
如果自创建更改令牌后文件发生了更改,则为 True。True when the file has changed since the change token was created. 文件发生更改后,此值始终为 true。Once the file changes, this value is always true.
public:
property bool HasChanged { bool get(); };
public bool HasChanged { get; }
member this.HasChanged : bool
Public ReadOnly Property HasChanged As Boolean
属性值
实现
注解
如果为 true,则值始终为 true。Once true, the value will always be true. 不应在过期后重新使用更改令牌。Change tokens should not re-used once expired. 如果调用方为 true,则调用方应丢弃此实例 HasChanged 。The caller should discard this instance once it sees HasChanged is true.