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

WriteAttribute() protected method

protected WriteAttribute ( string localName, string ns, string value ) : void
localName string
ns string
value string
return void
        protected void WriteAttribute(string localName, string ns, string value) {
            if (value == null || value.Length == 0)
                return;
            w.Append(",");
            w.Append(ns);
            if (ns != null && ns.Length != 0)
                w.Append(":");
            w.Append(localName);
            w.Append("=");
            w.Append(value);
        }
        protected void WriteAttribute(string localName, string ns, XmlQualifiedName value) {

Same methods

SchemaObjectWriter::WriteAttribute ( XmlAttribute a ) : void
SchemaObjectWriter::WriteAttribute ( string localName, string ns, XmlQualifiedName value ) : void