XmlDictionaryWriter.WriteXmlAttribute XmlDictionaryWriter.WriteXmlAttribute XmlDictionaryWriter.WriteXmlAttribute XmlDictionaryWriter.WriteXmlAttribute Method

Definition

Writes a standard XML attribute in the current element.

Overloads

WriteXmlAttribute(String, String) WriteXmlAttribute(String, String) WriteXmlAttribute(String, String) WriteXmlAttribute(String, String)

Writes a standard XML attribute in the current node.

WriteXmlAttribute(XmlDictionaryString, XmlDictionaryString) WriteXmlAttribute(XmlDictionaryString, XmlDictionaryString) WriteXmlAttribute(XmlDictionaryString, XmlDictionaryString) WriteXmlAttribute(XmlDictionaryString, XmlDictionaryString)

Writes an XML attribute in the current node.

Remarks

A standard XML attribute is one with the prefix "xml" in any casing. Examples are xml:space and xml:lang.

WriteXmlAttribute(String, String) WriteXmlAttribute(String, String) WriteXmlAttribute(String, String) WriteXmlAttribute(String, String)

Writes a standard XML attribute in the current node.

public:
 virtual void WriteXmlAttribute(System::String ^ localName, System::String ^ value);
public virtual void WriteXmlAttribute (string localName, string value);
abstract member WriteXmlAttribute : string * string -> unit
override this.WriteXmlAttribute : string * string -> unit
Public Overridable Sub WriteXmlAttribute (localName As String, value As String)

Parameters

localName
String String String String

The local name of the attribute.

value
String String String String

The value of the attribute.

WriteXmlAttribute(XmlDictionaryString, XmlDictionaryString) WriteXmlAttribute(XmlDictionaryString, XmlDictionaryString) WriteXmlAttribute(XmlDictionaryString, XmlDictionaryString) WriteXmlAttribute(XmlDictionaryString, XmlDictionaryString)

Writes an XML attribute in the current node.

public:
 virtual void WriteXmlAttribute(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ value);
public virtual void WriteXmlAttribute (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString value);
abstract member WriteXmlAttribute : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> unit
override this.WriteXmlAttribute : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> unit
Public Overridable Sub WriteXmlAttribute (localName As XmlDictionaryString, value As XmlDictionaryString)

Parameters

Applies to