Returns an enumerator to use to iterate through the namespaces in the System.Xml.XmlNamespaceManager.
An IEnumerator containing the prefixes stored by the System.Xml.XmlNamespaceManager.
The following code shows how to use the IEnumerator to view all the namespace pairs stored in the System.Xml.XmlNamespaceManager object.
Example
Dim nsEnum As IEnumerator = nsmgr.GetEnumerator() Do While nsEnum.MoveNext If nsEnum.Current <> "" Then MsgBox("xmlns:" + nsEnum.Current + "=" + nsmgr.LookupNamespace(nsEnum.Current)) End If Loop