SerializationUtilities.GetNamespacesFromCurrentNode(XmlReader) 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.
Returns a list of the XML namespaces in the current node
public:
static System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ GetNamespacesFromCurrentNode(System::Xml::XmlReader ^ reader);
public static System.Collections.ObjectModel.ReadOnlyCollection<string> GetNamespacesFromCurrentNode (System.Xml.XmlReader reader);
static member GetNamespacesFromCurrentNode : System.Xml.XmlReader -> System.Collections.ObjectModel.ReadOnlyCollection<string>
Public Shared Function GetNamespacesFromCurrentNode (reader As XmlReader) As ReadOnlyCollection(Of String)
Parameters
- reader
- XmlReader
Returns
Remarks
The position of the read "cursor" is left at the start of the current element when the routine returns