XmlTokenStream.AddAttribute(String, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a XML attribute node to the collection
public void AddAttribute (string prefix, string localName, string namespace, string value);
member this.AddAttribute : string * string * string * string -> unit
Public Sub AddAttribute (prefix As String, localName As String, namespace As String, value As String)
Parameters
- prefix
- String
the XML prefix.
- localName
- String
the local name of the attribute.
- namespace
- String
the namespace of the attribute.
- value
- String
the value of the attribute.
Exceptions
if localName
is null or empty.