Bewerken

Delen via


InternalXmlHelper.RemoveNamespaceAttributes Method

Definition

Removes XML namespace attributes from an XML element. This method is not intended to be used from your code.

Overloads

RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, IEnumerable)

Removes XML namespace attributes from an XML element. This method is not intended to be used from your code.

RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, Object)

Removes XML namespace attributes from an XML element. This method is not intended to be used from your code.

RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, XElement)

Removes XML namespace attributes from an XML element. This method is not intended to be used from your code.

RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, IEnumerable)

Removes XML namespace attributes from an XML element. This method is not intended to be used from your code.

public:
 static System::Collections::IEnumerable ^ RemoveNamespaceAttributes(cli::array <System::String ^> ^ inScopePrefixes, cli::array <System::Xml::Linq::XNamespace ^> ^ inScopeNs, System::Collections::Generic::List<System::Xml::Linq::XAttribute ^> ^ attributes, System::Collections::IEnumerable ^ obj);
public static System.Collections.IEnumerable RemoveNamespaceAttributes (string[] inScopePrefixes, System.Xml.Linq.XNamespace[] inScopeNs, System.Collections.Generic.List<System.Xml.Linq.XAttribute> attributes, System.Collections.IEnumerable obj);
static member RemoveNamespaceAttributes : string[] * System.Xml.Linq.XNamespace[] * System.Collections.Generic.List<System.Xml.Linq.XAttribute> * System.Collections.IEnumerable -> System.Collections.IEnumerable
Public Shared Function RemoveNamespaceAttributes (inScopePrefixes As String(), inScopeNs As XNamespace(), attributes As List(Of XAttribute), obj As IEnumerable) As IEnumerable

Parameters

inScopePrefixes
String[]

The list of XML namespace prefixes for XML elements in the current scope.

inScopeNs
XNamespace[]

The list of XML namespaces for XML elements in the current scope.

attributes
List<XAttribute>

The list of namespace attributes to remove from the XML element.

obj
IEnumerable

The XML element to remove XML namespace attributes from.

Returns

The supplied XML element with the specified XML namespace attributes removed.

See also

Applies to

RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, Object)

Removes XML namespace attributes from an XML element. This method is not intended to be used from your code.

public:
 static System::Object ^ RemoveNamespaceAttributes(cli::array <System::String ^> ^ inScopePrefixes, cli::array <System::Xml::Linq::XNamespace ^> ^ inScopeNs, System::Collections::Generic::List<System::Xml::Linq::XAttribute ^> ^ attributes, System::Object ^ obj);
public static object RemoveNamespaceAttributes (string[] inScopePrefixes, System.Xml.Linq.XNamespace[] inScopeNs, System.Collections.Generic.List<System.Xml.Linq.XAttribute> attributes, object obj);
static member RemoveNamespaceAttributes : string[] * System.Xml.Linq.XNamespace[] * System.Collections.Generic.List<System.Xml.Linq.XAttribute> * obj -> obj
Public Shared Function RemoveNamespaceAttributes (inScopePrefixes As String(), inScopeNs As XNamespace(), attributes As List(Of XAttribute), obj As Object) As Object

Parameters

inScopePrefixes
String[]

The list of XML namespace prefixes for XML elements in the current scope.

inScopeNs
XNamespace[]

The list of XML namespaces for XML elements in the current scope.

attributes
List<XAttribute>

The list of namespace attributes to remove from the XML element.

obj
Object

The XML element to remove XML namespace attributes from.

Returns

The supplied XML element with the specified XML namespace attributes removed.

See also

Applies to

RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, XElement)

Removes XML namespace attributes from an XML element. This method is not intended to be used from your code.

public:
 static System::Xml::Linq::XElement ^ RemoveNamespaceAttributes(cli::array <System::String ^> ^ inScopePrefixes, cli::array <System::Xml::Linq::XNamespace ^> ^ inScopeNs, System::Collections::Generic::List<System::Xml::Linq::XAttribute ^> ^ attributes, System::Xml::Linq::XElement ^ e);
public static System.Xml.Linq.XElement RemoveNamespaceAttributes (string[] inScopePrefixes, System.Xml.Linq.XNamespace[] inScopeNs, System.Collections.Generic.List<System.Xml.Linq.XAttribute> attributes, System.Xml.Linq.XElement e);
static member RemoveNamespaceAttributes : string[] * System.Xml.Linq.XNamespace[] * System.Collections.Generic.List<System.Xml.Linq.XAttribute> * System.Xml.Linq.XElement -> System.Xml.Linq.XElement
Public Shared Function RemoveNamespaceAttributes (inScopePrefixes As String(), inScopeNs As XNamespace(), attributes As List(Of XAttribute), e As XElement) As XElement

Parameters

inScopePrefixes
String[]

The list of XML namespace prefixes for XML elements in the current scope.

inScopeNs
XNamespace[]

The list of XML namespaces for XML elements in the current scope.

attributes
List<XAttribute>

The list of namespace attributes to remove from the XML element.

e
XElement

The XML element to remove XML namespace attributes from.

Returns

The supplied XML element with the specified XML namespace attributes removed.

See also

Applies to