public class XPathResult { //Extend this class for all //return data types for XPath queries. string ResultType = "ArrayOfNodes"; string getResultType { return ResultType; }//getResultType public setResultType (string Type) { ResultType = Type; }//setResultType }//class