GetOrCreateElement() public method

public GetOrCreateElement ( string busName, string elementPath ) : UiaDbusElement
busName string
elementPath string
return UiaDbusElement
コード例 #1
0
        public IElement GetDescendantFromPoint(double x, double y)
        {
            string descendantPath = null;

            try {
                descendantPath = dbusElement.GetDescendantPathFromPoint(x, y);
            } catch (Exception ex) {
                throw DbusExceptionTranslator.Translate(ex);
            }
            return(source.GetOrCreateElement(busName, descendantPath));
        }
コード例 #2
0
        public IElement GetItem(int row, int column)
        {
            string elementPath = null;

            try {
                elementPath = pattern.GetItemPath(row, column);
            } catch (Exception ex) {
                throw DbusExceptionTranslator.Translate(ex);
            }
            return(source.GetOrCreateElement(busName, elementPath));
        }
コード例 #3
0
 internal UiaDbusElement GetElement(string elementPath)
 {
     return(source.GetOrCreateElement(busName, elementPath));
 }