InternalXmlHelper.RemoveNamespaceAttributes Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Tar bort XML-namnområdesattribut från ett XML-element. Den här metoden är inte avsedd att användas från koden.
Överlagringar
| Name | Description |
|---|---|
| RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, IEnumerable) |
Tar bort XML-namnområdesattribut från ett XML-element. Den här metoden är inte avsedd att användas från koden. |
| RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, Object) |
Tar bort XML-namnområdesattribut från ett XML-element. Den här metoden är inte avsedd att användas från koden. |
| RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, XElement) |
Tar bort XML-namnområdesattribut från ett XML-element. Den här metoden är inte avsedd att användas från koden. |
RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, IEnumerable)
Tar bort XML-namnområdesattribut från ett XML-element. Den här metoden är inte avsedd att användas från koden.
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
Parametrar
- inScopePrefixes
- String[]
Listan över XML-namnområdesprefix för XML-element i det aktuella omfånget.
- inScopeNs
- XNamespace[]
Listan över XML-namnområden för XML-element i det aktuella omfånget.
- attributes
- List<XAttribute>
Listan över namnområdesattribut som ska tas bort från XML-elementet.
- obj
- IEnumerable
XML-elementet för att ta bort XML-namnområdesattribut från.
Returer
Det angivna XML-elementet med de angivna XML-namnområdesattributen borttagna.
Se även
Gäller för
RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, Object)
Tar bort XML-namnområdesattribut från ett XML-element. Den här metoden är inte avsedd att användas från koden.
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
Parametrar
- inScopePrefixes
- String[]
Listan över XML-namnområdesprefix för XML-element i det aktuella omfånget.
- inScopeNs
- XNamespace[]
Listan över XML-namnområden för XML-element i det aktuella omfånget.
- attributes
- List<XAttribute>
Listan över namnområdesattribut som ska tas bort från XML-elementet.
- obj
- Object
XML-elementet för att ta bort XML-namnområdesattribut från.
Returer
Det angivna XML-elementet med de angivna XML-namnområdesattributen borttagna.
Se även
Gäller för
RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, XElement)
Tar bort XML-namnområdesattribut från ett XML-element. Den här metoden är inte avsedd att användas från koden.
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
Parametrar
- inScopePrefixes
- String[]
Listan över XML-namnområdesprefix för XML-element i det aktuella omfånget.
- inScopeNs
- XNamespace[]
Listan över XML-namnområden för XML-element i det aktuella omfånget.
- attributes
- List<XAttribute>
Listan över namnområdesattribut som ska tas bort från XML-elementet.
- e
- XElement
XML-elementet för att ta bort XML-namnområdesattribut från.
Returer
Det angivna XML-elementet med de angivna XML-namnområdesattributen borttagna.