예제 #1
0
 /// Method: IsRegister
 /// Last Modified: 11/29/09
 /// <summary>
 /// Determines if the XML String is the register object
 ///  in XML form.
 /// </summary>
 /// -----------------------------------------------------
 /// PRECONDITIONS: Review the parameters statement.
 /// -----------------------------------------------------
 /// Parameters:
 /// <param name="sXML">
 /// A string that contains the XML data.
 /// </param>
 /// -----------------------------------------------------
 /// POSTCONDITIONS: Refer to the return statement.
 /// -----------------------------------------------------
 /// Return Value:
 /// bool -- Returns true if the XML supplied is this
 ///  object in XML form.
 public static bool IsRegister(String sXML)
 {
     Register r = new Register(null, -1, "", "");
     return r.IsXmlObject(sXML);
 }