System.Xml.XmlUTF8NodeWriter.WriteXmlnsAttribute C# (CSharp) Method

WriteXmlnsAttribute() public method

public WriteXmlnsAttribute ( string prefix, string ns ) : void
prefix string
ns string
return void
        public override void WriteXmlnsAttribute(string prefix, string ns)
        {
            WriteStartXmlnsAttribute();
            if (prefix.Length != 0)
            {
                WriteByte(':');
                WritePrefix(prefix);
            }
            WriteBytes('=', '"');
            WriteEscapedText(ns);
            WriteEndAttribute();
        }

Same methods

XmlUTF8NodeWriter::WriteXmlnsAttribute ( byte prefixBuffer, int prefixOffset, int prefixLength, byte nsBuffer, int nsOffset, int nsLength ) : void
XmlUTF8NodeWriter::WriteXmlnsAttribute ( string prefix, XmlDictionaryString ns ) : void