XmlWriter.WriteQualifiedName Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- localName
- Type: System.String
The local name to write.
- ns
- Type: System.String
The namespace URI for the name.
| Exception | Condition |
|---|---|
| ArgumentException | localName is String.Empty or not a valid name. |
| NullReferenceException | localName or ns is null. |
Show:
Note: