ListCollectionView.OnBeginChangeLogging 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Replaced by OnAllowsCrossThreadChangesChanged
基底類別呼叫以通知衍生類別 CollectionChanged 事件已被發布到訊息佇列。
protected:
override void OnBeginChangeLogging(System::Collections::Specialized::NotifyCollectionChangedEventArgs ^ args);
protected override void OnBeginChangeLogging(System.Collections.Specialized.NotifyCollectionChangedEventArgs args);
[System.Obsolete("Replaced by OnAllowsCrossThreadChangesChanged")]
protected override void OnBeginChangeLogging(System.Collections.Specialized.NotifyCollectionChangedEventArgs args);
override this.OnBeginChangeLogging : System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
[<System.Obsolete("Replaced by OnAllowsCrossThreadChangesChanged")>]
override this.OnBeginChangeLogging : System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
Protected Overrides Sub OnBeginChangeLogging (args As NotifyCollectionChangedEventArgs)
參數
就是 NotifyCollectionChangedEventArgs 被加入變更日誌的物件。
- 屬性
例外狀況
若 args 是 null。
備註
此通知的目的是讓集合檢視能快照資訊,這通常是資料收集的狀態,且在發文時是必要的。