System.Windows.Automation.AutomationElement.GetRuntimeId C# (CSharp) Method

GetRuntimeId() public method

public GetRuntimeId ( ) : int[]
return int[]
        public int[] GetRuntimeId()
        {
            try
            {
                return (int[])this._obj.GetRuntimeId();
            }
            catch (System.Runtime.InteropServices.COMException e)
            {
                Exception newEx; if (Utility.ConvertException(e, out newEx)) { throw newEx; } else { throw; }
            }
        }

Usage Example

Example #1
0
		public static bool Compare (AutomationElement el1, AutomationElement el2)
		{
			if (el1 == null)
				throw new ArgumentNullException ("el1");
			if (el2 == null)
				throw new ArgumentNullException ("el2");
			return Compare (el1.GetRuntimeId (),
			                el2.GetRuntimeId ());
		}
All Usage Examples Of System.Windows.Automation.AutomationElement::GetRuntimeId