Partager via


SerializationUtilities.GetNamespacesFromCurrentNode(XmlReader) Method

Definition

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

Applies to