System.Xml.Serialization.XmlSerializationWriter.WriteAttribute C# (CSharp) Method

WriteAttribute() protected method

protected WriteAttribute ( string prefix, string localName, string ns, string value ) : void
prefix string
localName string
ns string
value string
return void
        protected void WriteAttribute(string prefix, string localName, string ns, string value)
        {
            if (value == null) return;
            _w.WriteAttributeString(prefix, localName, null, value);
        }

Same methods

XmlSerializationWriter::WriteAttribute ( string localName, byte value ) : void
XmlSerializationWriter::WriteAttribute ( string localName, string value ) : void
XmlSerializationWriter::WriteAttribute ( string localName, string ns, byte value ) : void
XmlSerializationWriter::WriteAttribute ( string localName, string ns, string value ) : void