Mono.UIAutomation.ClientSource.ClientAutomationSource.RemoveAutomationPropertyChangedEventHandler C# (CSharp) Method

RemoveAutomationPropertyChangedEventHandler() public method

public RemoveAutomationPropertyChangedEventHandler ( IElement element, AutomationPropertyChangedEventHandler eventHandler ) : void
element IElement
eventHandler AutomationPropertyChangedEventHandler
return void
		public void RemoveAutomationPropertyChangedEventHandler (IElement element, AutomationPropertyChangedEventHandler eventHandler)
		{
			if (element == null)
				return;
			ClientElement clientElement = element as ClientElement;
			if (clientElement == null) {
				Log.Error ("[ClientAutomationSource.RemoveAutomationPropertyChangedEventHandler] Not ClientElement");
				return;
			}
			ClientEventManager.RemoveAutomationPropertyChangedEventHandler (
				clientElement.Provider, eventHandler);
		}