Skybound.Gecko.GeckoNode.InsertBefore C# (CSharp) Method

InsertBefore() public method

public InsertBefore ( GeckoNode newChild, GeckoNode before ) : GeckoNode
newChild GeckoNode
before GeckoNode
return GeckoNode
        public GeckoNode InsertBefore(GeckoNode newChild, GeckoNode before)
        {
            if (newChild == null)
                throw new ArgumentNullException("newChild");
            if (before == null)
                throw new ArgumentNullException("before");

            _DomObject.InsertBefore(newChild._DomObject, before._DomObject);
            return newChild;
        }