AutomationPeer.ResetChildrenCache 方法

定義

呼叫 GetChildrenCore(),以同步方式重設子項目的樹狀結構。Synchronously resets the tree of child elements by calling GetChildrenCore().

public:
 void ResetChildrenCache();
public void ResetChildrenCache ();
member this.ResetChildrenCache : unit -> unit
Public Sub ResetChildrenCache ()

備註

在變更子專案集合的特定對等體中使用這個方法,以回應控制項模式介面的呼叫。Use this method in certain peer implementations that change the set of child elements in response to a call to a control pattern interface. 例如,您 ITextProvider 可以藉由移動來變更對等的子項目 TextRangeAn example is ITextProvider, which can change the child elements of the peer by moving the TextRange.

適用於