System.Xml.DocumentXmlWriter.WriteXmlDeclaration C# (CSharp) 메소드

WriteXmlDeclaration() 개인적인 메소드

private WriteXmlDeclaration ( XmlStandalone standalone ) : void
standalone XmlStandalone
리턴 void
        internal override void WriteXmlDeclaration(XmlStandalone standalone) {
            VerifyState(Method.WriteXmlDeclaration);
            if (standalone != XmlStandalone.Omit) {
                XmlNode node = document.CreateXmlDeclaration("1.0", string.Empty, standalone == XmlStandalone.Yes ? "yes" : "no");  
                AddChild(node, write);
            }
        }

Same methods

DocumentXmlWriter::WriteXmlDeclaration ( string xmldecl ) : void