AutomationPeer.ResetChildrenCache 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过调用 GetChildrenCore()同步重置子元素树。
public:
void ResetChildrenCache();
public void ResetChildrenCache();
member this.ResetChildrenCache : unit -> unit
Public Sub ResetChildrenCache ()
注解
在某些对等实现中使用此方法,这些实现更改子元素集以响应对控件模式接口的调用。 例如 ITextProvider,可以通过移动 TextRange对等元素来更改对等元素。