SerializationUtilities.GetNamespacesFromCurrentNode Method
Returns a list of the XML namespaces in the current node
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Shared Function GetNamespacesFromCurrentNode ( _
reader As XmlReader _
) As ReadOnlyCollection(Of String)
public static ReadOnlyCollection<string> GetNamespacesFromCurrentNode(
XmlReader reader
)
public:
static ReadOnlyCollection<String^>^ GetNamespacesFromCurrentNode(
XmlReader^ reader
)
static member GetNamespacesFromCurrentNode :
reader:XmlReader -> ReadOnlyCollection<string>
public static function GetNamespacesFromCurrentNode(
reader : XmlReader
) : ReadOnlyCollection<String>
Parameters
- reader
Type: System.Xml.XmlReader
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<String>
Remarks
The position of the read "cursor" is left at the start of the current element when the routine returns
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.