internal static void UiaRaiseStructureChangedEvent(IRawElementProviderSimple provider, UIAutomationClient.StructureChangeType structureChangeType, int[] runtimeId) { CheckError(RawUiaRaiseStructureChangedEvent(provider, structureChangeType, runtimeId, (runtimeId == null) ? 0 : runtimeId.Length)); }
void UIAutomationClient.IUIAutomationStructureChangedEventHandler.HandleStructureChangedEvent(UIAutomationClient.IUIAutomationElement sender, UIAutomationClient.StructureChangeType changeType, Array runtimeId) { StructureChangedEventArgs args = new StructureChangedEventArgs( (StructureChangeType)changeType, (int[])runtimeId); this._structureChangeHandler(AutomationElement.Wrap(sender), args); }
private static extern int RawUiaRaiseStructureChangedEvent(IRawElementProviderSimple provider, UIAutomationClient.StructureChangeType structureChangeType, int[] runtimeId, int runtimeIdLen);