System.Xml.Tests.TCDocument.document_5 C# (CSharp) 메소드

document_5() 공개 메소드

public document_5 ( ) : int
리턴 int
        public int document_5()
        {
            using (XmlWriter w = CreateWriter())
            {
                w.WriteStartDocument();
                w.WriteStartElement("Root");
                w.WriteEndElement();
            }
            return CompareReader("<Root />") ? TEST_PASS : TEST_FAIL;
        }