System.Windows.Automation.MultipleViewPattern.GetViewName C# (CSharp) Method

GetViewName() public method

public GetViewName ( int viewId ) : string
viewId int
return string
        public string GetViewName(int viewId)
        {
            try
            {
                return this._pattern.GetViewName(viewId);
            }
            catch (System.Runtime.InteropServices.COMException e)
            {
                Exception newEx; if (Utility.ConvertException(e, out newEx)) { throw newEx; } else { throw; }
            }
        }