Partager via


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

'Déclaration
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

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

See Also

Reference

SerializationUtilities Class

Microsoft.VisualStudio.Modeling Namespace