Mono.UIAutomation.ClientSource.ClientAutomationSource.AddAutomationPropertyChangedEventHandler C# (CSharp) Méthode

AddAutomationPropertyChangedEventHandler() public méthode

public AddAutomationPropertyChangedEventHandler ( IElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler, AutomationProperty properties ) : void
element IElement
scope TreeScope
eventHandler AutomationPropertyChangedEventHandler
properties System.Windows.Automation.AutomationProperty
Résultat void
		public void AddAutomationPropertyChangedEventHandler (IElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler, AutomationProperty[] properties)
		{
			if (element == null)
				return;
			ClientElement clientElement = element as ClientElement;
			if (clientElement == null) {
				Log.Error ("[ClientAutomationSource.AddAutomationPropertyChangedEventHandler] Not ClientElement");
				return;
			}
			int [] propertyIds = Array.ConvertAll (properties, p => p.Id);
			ClientEventManager.AddAutomationPropertyChangedEventHandler (
				clientElement.Provider, scope, eventHandler, propertyIds);
		}