Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Xml.​Serialization.​XmlSerializerNamespaces
Assembly: System.Xml.ReaderWriter
Inheritance: object → XmlSerializerNamespaces
Contains the XML namespaces and prefixes that the <see cref="T:System.Xml.Serialization.XmlSerializer" /> uses to generate qualified names in an XML-document instance.
Properties
public
int
Count
Gets the number of prefix and namespace pairs in the collection.
Methods
public
void
Add​(string prefix,
string ns)
Adds a prefix and namespace pair to an <see cref="T:System.Xml.Serialization.XmlSerializerNamespaces" /> object.
prefix
The prefix associated with an XML namespace.
ns
An XML namespace.
public
XmlQualifiedName[]
ToArray​()
Gets the array of prefix and namespace pairs in an <see cref="T:System.Xml.Serialization.XmlSerializerNamespaces" /> object.
Returns An array of <see cref="T:System.Xml.XmlQualifiedName" /> objects that are used as qualified names in an XML document.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object