InternalXmlHelper.RemoveNamespaceAttributes 方法

定義

移除 XML 元素中的 XML 命名空間屬性。 此方法並非設計用來從你的程式碼中使用。

多載

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

移除 XML 元素中的 XML 命名空間屬性。 此方法並非設計用來從你的程式碼中使用。

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

移除 XML 元素中的 XML 命名空間屬性。 此方法並非設計用來從你的程式碼中使用。

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

移除 XML 元素中的 XML 命名空間屬性。 此方法並非設計用來從你的程式碼中使用。

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

移除 XML 元素中的 XML 命名空間屬性。 此方法並非設計用來從你的程式碼中使用。

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

參數

inScopePrefixes
String[]

目前範圍內 XML 元素的 XML 命名空間前綴列表。

inScopeNs
XNamespace[]

目前範圍內 XML 元素的 XML 命名空間清單。

attributes
List<XAttribute>

從 XML 元素中移除的命名空間屬性清單。

obj
IEnumerable

XML 元素用來移除 XML 命名空間屬性。

傳回

所提供的含指定 XML 命名空間屬性的 XML 元素被移除。

另請參閱

適用於

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

移除 XML 元素中的 XML 命名空間屬性。 此方法並非設計用來從你的程式碼中使用。

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

參數

inScopePrefixes
String[]

目前範圍內 XML 元素的 XML 命名空間前綴列表。

inScopeNs
XNamespace[]

目前範圍內 XML 元素的 XML 命名空間清單。

attributes
List<XAttribute>

從 XML 元素中移除的命名空間屬性清單。

obj
Object

XML 元素用來移除 XML 命名空間屬性。

傳回

所提供的含指定 XML 命名空間屬性的 XML 元素被移除。

另請參閱

適用於

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

移除 XML 元素中的 XML 命名空間屬性。 此方法並非設計用來從你的程式碼中使用。

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

參數

inScopePrefixes
String[]

目前範圍內 XML 元素的 XML 命名空間前綴列表。

inScopeNs
XNamespace[]

目前範圍內 XML 元素的 XML 命名空間清單。

attributes
List<XAttribute>

從 XML 元素中移除的命名空間屬性清單。

e
XElement

XML 元素用來移除 XML 命名空間屬性。

傳回

所提供的含指定 XML 命名空間屬性的 XML 元素被移除。

另請參閱

適用於