XmlNamespaces Members

The following tables list the members exposed by the XmlNamespaces type.

Public Constructors

Name Description
Public Method XmlNamespaces Creates an instance of a XmlNamespaces collection.

Public Properties

Name Description
Public Property Count Gets the number of XmlNamespace objects in the collection.
Public Property Item Gets or sets the XmlNamespace element at the specified index.

Public Methods

Name Description
Public Method Add Overloaded. Adds an object to the end of the XmlNamespaces list.
Public Method Contains Overloaded. Determines whether a XmlNamspace is in the XmlNamspaces list.
Public Method GetNamespace Searches for a XmlNamespace by prefix and returns the NamespaceURI of the namespace within the entire XmlNamespaces list.
Public Method IndexOf Overloaded. Searches for a XmlNamespace and returns the zero-based index of the first occurrence within the entire XmlNamespaces list.
Public Method RemoveAt Removes the XmlNamespace at the specified index of the XmlNamespaces list.

See Also

Reference

XmlNamespaces Class
System.Xml Namespace