System.Windows.Automation.AutomationElement.GetRuntimeId C# (CSharp) 메소드

GetRuntimeId() 공개 메소드

public GetRuntimeId ( ) : int[]
리턴 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

예제 #1
0
파일: Automation.cs 프로젝트: mono/uia2atk
		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