ExoMerge.Aspose.Common.NodeRange.NodeRange C# (CSharp) Method

NodeRange() public method

Creates a new node range.
public NodeRange ( Node start, Node end ) : System
start Node The start node.
end Node The end node.
return System
        public NodeRange(Node start, Node end)
        {
            if (start.Document != end.Document)
                throw new InvalidOperationException("Cannot create a node range between nodes in different documents.");

            Document = start.Document;
            Start = start;
            End = end;
        }
NodeRange