InternalXmlHelper.RemoveNamespaceAttributes Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menghapus atribut namespace XML dari elemen XML. Metode ini tidak dimaksudkan untuk digunakan dari kode Anda.
Overload
| RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, IEnumerable) |
Menghapus atribut namespace XML dari elemen XML. Metode ini tidak dimaksudkan untuk digunakan dari kode Anda. |
| RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, Object) |
Menghapus atribut namespace XML dari elemen XML. Metode ini tidak dimaksudkan untuk digunakan dari kode Anda. |
| RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, XElement) |
Menghapus atribut namespace XML dari elemen XML. Metode ini tidak dimaksudkan untuk digunakan dari kode Anda. |
RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, IEnumerable)
Menghapus atribut namespace XML dari elemen XML. Metode ini tidak dimaksudkan untuk digunakan dari kode Anda.
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
Parameter
- inScopePrefixes
- String[]
Daftar awalan namespace XML untuk elemen XML dalam lingkup saat ini.
- inScopeNs
- XNamespace[]
Daftar namespace XML untuk elemen XML dalam lingkup saat ini.
- attributes
- List<XAttribute>
Daftar atribut namespace yang akan dihapus dari elemen XML.
- obj
- IEnumerable
Elemen XML untuk menghapus atribut namespace XML.
Mengembalikan
Elemen XML yang disediakan dengan atribut namespace XML yang ditentukan dihapus.
Lihat juga
Berlaku untuk
RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, Object)
Menghapus atribut namespace XML dari elemen XML. Metode ini tidak dimaksudkan untuk digunakan dari kode Anda.
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
Parameter
- inScopePrefixes
- String[]
Daftar awalan namespace XML untuk elemen XML dalam lingkup saat ini.
- inScopeNs
- XNamespace[]
Daftar namespace XML untuk elemen XML dalam lingkup saat ini.
- attributes
- List<XAttribute>
Daftar atribut namespace yang akan dihapus dari elemen XML.
- obj
- Object
Elemen XML untuk menghapus atribut namespace XML.
Mengembalikan
Elemen XML yang disediakan dengan atribut namespace XML yang ditentukan dihapus.
Lihat juga
Berlaku untuk
RemoveNamespaceAttributes(String[], XNamespace[], List<XAttribute>, XElement)
Menghapus atribut namespace XML dari elemen XML. Metode ini tidak dimaksudkan untuk digunakan dari kode Anda.
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
Parameter
- inScopePrefixes
- String[]
Daftar awalan namespace XML untuk elemen XML dalam lingkup saat ini.
- inScopeNs
- XNamespace[]
Daftar namespace XML untuk elemen XML dalam lingkup saat ini.
- attributes
- List<XAttribute>
Daftar atribut namespace yang akan dihapus dari elemen XML.
- e
- XElement
Elemen XML untuk menghapus atribut namespace XML.
Mengembalikan
Elemen XML yang disediakan dengan atribut namespace XML yang ditentukan dihapus.