XPathMessageFilterTable<TFilterData> XPathMessageFilterTable<TFilterData> XPathMessageFilterTable<TFilterData> XPathMessageFilterTable<TFilterData> Class

定義

保存篩選條件/資料組的集合,以進行有效率的比對。Holds a collection of filter/data pairs for efficient matching.

generic <typename TFilterData>
public ref class XPathMessageFilterTable : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::ServiceModel::Dispatcher::MessageFilter ^, TFilterData>>, System::Collections::Generic::IDictionary<System::ServiceModel::Dispatcher::MessageFilter ^, TFilterData>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::ServiceModel::Dispatcher::MessageFilter ^, TFilterData>>, System::ServiceModel::Dispatcher::IMessageFilterTable<TFilterData>
[System.Runtime.Serialization.DataContract]
public class XPathMessageFilterTable<TFilterData> : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageFilter,TFilterData>>, System.Collections.Generic.IDictionary<System.ServiceModel.Dispatcher.MessageFilter,TFilterData>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageFilter,TFilterData>>, System.ServiceModel.Dispatcher.IMessageFilterTable<TFilterData>
type XPathMessageFilterTable<'FilterData> = class
    interface IMessageFilterTable<'FilterData>
    interface IDictionary<MessageFilter, 'FilterData>
    interface ICollection<KeyValuePair<MessageFilter, 'FilterData>>
    interface seq<KeyValuePair<MessageFilter, 'FilterData>>
    interface IEnumerable
Public Class XPathMessageFilterTable(Of TFilterData)
Implements ICollection(Of KeyValuePair(Of MessageFilter, TFilterData)), IDictionary(Of MessageFilter, TFilterData), IEnumerable(Of KeyValuePair(Of MessageFilter, TFilterData)), IMessageFilterTable(Of TFilterData)

類型參數

TFilterData

與資料表中每個篩選條件關聯之篩選資料的型別。The type of the filter data associated with each filter in the table.

繼承
XPathMessageFilterTable<TFilterData>XPathMessageFilterTable<TFilterData>XPathMessageFilterTable<TFilterData>XPathMessageFilterTable<TFilterData>
屬性
實作

備註

XPathMessageFilterTable<TFilterData> 會實作 IMessageFilterTable<TFilterData> 介面。The XPathMessageFilterTable<TFilterData> implements the IMessageFilterTable<TFilterData> interface. 這個篩選資料表已針對宣告式 XPath 篩選條件最佳化,因此資料表索引鍵為 XPathMessageFilterThis filter table is optimized for declarative XPath filters, so the table key is a XPathMessageFilter.

XPathMessageFilterTable<TFilterData> 類別會最佳化適用於大部分傳訊案例的 XPath 子集的比對,並且支援完整的 XPath 1.0 文法。The XPathMessageFilterTable<TFilterData> class optimizes matching for a subset of XPath that covers most of the messaging scenarios and also supports the full XPath 1.0 grammar. 它具有最佳化的演算法,能夠有效地進行平行比對。It has optimized algorithms for efficient parallel matching.

建構函式

XPathMessageFilterTable<TFilterData>() XPathMessageFilterTable<TFilterData>() XPathMessageFilterTable<TFilterData>() XPathMessageFilterTable<TFilterData>()

初始化 XPathMessageFilterTable<TFilterData> 類別的新執行個體。Initializes a new instance of the XPathMessageFilterTable<TFilterData> class.

XPathMessageFilterTable<TFilterData>(Int32) XPathMessageFilterTable<TFilterData>(Int32) XPathMessageFilterTable<TFilterData>(Int32) XPathMessageFilterTable<TFilterData>(Int32)

初始化 XPathMessageFilterTable<TFilterData> 類別的新執行個體。Initializes a new instance of the XPathMessageFilterTable<TFilterData> class.

屬性

Count Count Count Count

取得篩選資料表中目前的篩選條件/資料組數目。Gets the number of filter/data pairs currently in the filter table.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

XPathMessageFilterTable<TFilterData> 不是唯讀的。The XPathMessageFilterTable<TFilterData> is not read-only.

Item[MessageFilter] Item[MessageFilter] Item[MessageFilter] Item[MessageFilter]

取得或設定與指定之 filter 相關聯的篩選資料。Gets or sets the filter data associated with the specified filter.

Keys Keys Keys Keys

取得包含在 XPathMessageFilterTable<TFilterData> 中所有篩選條件的集合。Gets a collection of all the filters contained in the XPathMessageFilterTable<TFilterData>.

NodeQuota NodeQuota NodeQuota NodeQuota

取得或設定 XML 文件節點的數目上限,這些節點可在單一呼叫 Match 方法期間由個別篩選條件進行檢查。Gets or sets the maximum number of XML document nodes that can be examined by the individual filters during a single call to a Match method. 這個值適用於每個篩選條件。This value applies for each filter.

Values Values Values Values

取得包含在 FilterData 中所有 XPathMessageFilterTable<TFilterData> 的集合。Gets a collection of all the FilterData contained in the XPathMessageFilterTable<TFilterData>.

方法

Add(KeyValuePair<MessageFilter,TFilterData>) Add(KeyValuePair<MessageFilter,TFilterData>) Add(KeyValuePair<MessageFilter,TFilterData>) Add(KeyValuePair<MessageFilter,TFilterData>)

將篩選條件/FilterData (索引鍵/值) 組新增至 XPathMessageFilterTable<TFilterData>Adds a filter/FilterData (key/value) pair to the XPathMessageFilterTable<TFilterData>.

Add(MessageFilter, TFilterData) Add(MessageFilter, TFilterData) Add(MessageFilter, TFilterData) Add(MessageFilter, TFilterData)

將篩選條件/資料組新增至篩選資料表。Adds a filter/data pair to the filter table.

Add(XPathMessageFilter, TFilterData) Add(XPathMessageFilter, TFilterData) Add(XPathMessageFilter, TFilterData) Add(XPathMessageFilter, TFilterData)

將篩選條件/資料組新增至篩選資料表。Adds a filter/data pair to the filter table.

Clear() Clear() Clear() Clear()

從篩選資料表移除所有的篩選條件/資料組。Removes all filter/data pairs from the filter table.

Contains(KeyValuePair<MessageFilter,TFilterData>) Contains(KeyValuePair<MessageFilter,TFilterData>) Contains(KeyValuePair<MessageFilter,TFilterData>) Contains(KeyValuePair<MessageFilter,TFilterData>)

判斷篩選資料表是否包含指定的篩選條件及其相關聯的 FilterDataDetermines whether the filter table contains a specified filter and its associated FilterData.

ContainsKey(MessageFilter) ContainsKey(MessageFilter) ContainsKey(MessageFilter) ContainsKey(MessageFilter)

判斷篩選資料表是否包含指定的篩選條件。Determines whether the filter table contains a specified filter.

CopyTo(KeyValuePair<MessageFilter,TFilterData>[], Int32) CopyTo(KeyValuePair<MessageFilter,TFilterData>[], Int32) CopyTo(KeyValuePair<MessageFilter,TFilterData>[], Int32) CopyTo(KeyValuePair<MessageFilter,TFilterData>[], Int32)

將篩選條件/FilterData 組複製到從指定索引開始的陣列。Copies the filter/FilterData pairs to an array that starts at a specified index.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

傳回可逐一查看篩選資料表的列舉值。Returns an enumerator that can iterate through the filter table.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetMatchingFilter(Message, MessageFilter) GetMatchingFilter(Message, MessageFilter) GetMatchingFilter(Message, MessageFilter) GetMatchingFilter(Message, MessageFilter)

傳回值,這個值表示指定的訊息是否剛好符合資料表中單一篩選條件的比對準則,並以 out 參數傳回該篩選條件。Returns a value that indicates whether the match criterion of exactly one filter in the table is satisfied by the specified message and returns that filter in an out parameter.

GetMatchingFilter(MessageBuffer, MessageFilter) GetMatchingFilter(MessageBuffer, MessageFilter) GetMatchingFilter(MessageBuffer, MessageFilter) GetMatchingFilter(MessageBuffer, MessageFilter)

傳回值,這個值表示指定的訊息或是緩衝的訊息是否剛好符合資料表中單一篩選條件的比對準則,並以 out 參數傳回篩選條件。Returns a value that indicates whether the match criterion of exactly one filter in the table is satisfied by the specified message or buffered message and returns that filter in an out parameter.

GetMatchingFilter(SeekableXPathNavigator, MessageFilter) GetMatchingFilter(SeekableXPathNavigator, MessageFilter) GetMatchingFilter(SeekableXPathNavigator, MessageFilter) GetMatchingFilter(SeekableXPathNavigator, MessageFilter)

傳回值,這個值表示指定的訊息或是緩衝的訊息是否剛好符合資料表中單一 SeekableXPathNavigator 的比對準則,並以 out 參數傳回該篩選條件。Returns a value that indicates whether the match criterion of exactly one SeekableXPathNavigator in the table is satisfied by the specified message or buffered message and returns that filter in an out parameter.

GetMatchingFilter(XPathNavigator, MessageFilter) GetMatchingFilter(XPathNavigator, MessageFilter) GetMatchingFilter(XPathNavigator, MessageFilter) GetMatchingFilter(XPathNavigator, MessageFilter)

傳回值,這個值表示指定的訊息或是緩衝的訊息是否剛好符合資料表中單一 XPathNavigator 的比對準則,並以 out 參數傳回該篩選條件。Returns a value that indicates whether the match criterion of exactly one XPathNavigator in the table is satisfied by the specified message or buffered message and returns that filter in an out parameter.

GetMatchingFilters(Message, ICollection<MessageFilter>) GetMatchingFilters(Message, ICollection<MessageFilter>) GetMatchingFilters(Message, ICollection<MessageFilter>) GetMatchingFilters(Message, ICollection<MessageFilter>)

傳回值,這個值表示指定的訊息是否符合資料表中至少一個 XPathMessageFilter 的比對準則,並且將相符的篩選條件加入至集合。Returns a value that indicates whether the match criterion of at least one XPathMessageFilter in the table is satisfied by the specified message and adds the matching filters to a collection.

GetMatchingFilters(MessageBuffer, ICollection<MessageFilter>) GetMatchingFilters(MessageBuffer, ICollection<MessageFilter>) GetMatchingFilters(MessageBuffer, ICollection<MessageFilter>) GetMatchingFilters(MessageBuffer, ICollection<MessageFilter>)

傳回值,這個值表示指定的經緩衝處理訊息是否符合資料表中至少一個 XPathMessageFilter 的比對準則,並且將相符的篩選條件加入至集合。Returns a value that indicates whether the match criterion of at least one XPathMessageFilter in the table is satisfied by the specified buffered message and adds the matching filters to a collection.

GetMatchingFilters(SeekableXPathNavigator, ICollection<MessageFilter>) GetMatchingFilters(SeekableXPathNavigator, ICollection<MessageFilter>) GetMatchingFilters(SeekableXPathNavigator, ICollection<MessageFilter>) GetMatchingFilters(SeekableXPathNavigator, ICollection<MessageFilter>)

傳回值,這個值表示指定的經緩衝處理訊息是否符合資料表中至少一個 SeekableXPathNavigator 的比對準則,並且將相符的篩選條件加入至集合。Returns a value that indicates whether the match criterion of at least one SeekableXPathNavigator in the table is satisfied by the specified buffered message and adds the matching filters to a collection.

GetMatchingFilters(XPathNavigator, ICollection<MessageFilter>) GetMatchingFilters(XPathNavigator, ICollection<MessageFilter>) GetMatchingFilters(XPathNavigator, ICollection<MessageFilter>) GetMatchingFilters(XPathNavigator, ICollection<MessageFilter>)

傳回值,這個值表示指定的經緩衝處理訊息是否符合資料表中至少一個 XPathNavigator 的比對準則,並且將相符的篩選條件加入至集合。Returns a value that indicates whether the match criterion of at least one XPathNavigator in the table is satisfied by the specified buffered message and adds the matching filters to a collection.

GetMatchingValue(Message, TFilterData) GetMatchingValue(Message, TFilterData) GetMatchingValue(Message, TFilterData) GetMatchingValue(Message, TFilterData)

傳回值,這個值表示指定的訊息是否剛好符合資料表中單一 XPathMessageFilter 的比對準則,並且傳回相符的篩選資料。Returns a value that indicates whether the match criterion of exactly one XPathMessageFilter in the table is satisfied by the specified message and returns the matching filter data.

GetMatchingValue(MessageBuffer, TFilterData) GetMatchingValue(MessageBuffer, TFilterData) GetMatchingValue(MessageBuffer, TFilterData) GetMatchingValue(MessageBuffer, TFilterData)

傳回值,這個值表示指定的經緩衝處理訊息是否剛好符合資料表中單一 XPathMessageFilter 的比對準則,並且傳回相符的篩選資料。Returns a value that indicates whether the match criterion of exactly one XPathMessageFilter in the table is satisfied by the specified buffered message and returns the matching filter data.

GetMatchingValue(SeekableXPathNavigator, TFilterData) GetMatchingValue(SeekableXPathNavigator, TFilterData) GetMatchingValue(SeekableXPathNavigator, TFilterData) GetMatchingValue(SeekableXPathNavigator, TFilterData)

傳回值,這個值表示 SeekableXPathNavigator 是否剛好符合資料表中單一 navigator 的比對準則,並以 out 參數傳回該相符篩選條件的篩選資料。Returns a value that indicates whether the match criterion of exactly one SeekableXPathNavigator in the table is satisfied by the navigator and returns the filter data of the matching filter in an out parameter.

GetMatchingValue(XPathNavigator, TFilterData) GetMatchingValue(XPathNavigator, TFilterData) GetMatchingValue(XPathNavigator, TFilterData) GetMatchingValue(XPathNavigator, TFilterData)

傳回值,這個值表示 XPathNavigator 是否剛好符合資料表中單一 navigator 的比對準則,並以 out 參數傳回該相符篩選條件的篩選資料。Returns a value that indicates whether the match criterion of exactly one XPathNavigator in the table is satisfied by the navigator and returns the filter data of the matching filter in an out parameter.

GetMatchingValues(Message, ICollection<TFilterData>) GetMatchingValues(Message, ICollection<TFilterData>) GetMatchingValues(Message, ICollection<TFilterData>) GetMatchingValues(Message, ICollection<TFilterData>)

傳回值,這個值表示指定的訊息是否符合資料表中至少一個篩選條件的比對準則,並且將相符篩選條件的篩選資料加入至集合。Returns a value that indicates whether the match criterion of at least one filter in the table is satisfied by the specified message and adds the filter data of the matching filters to a collection.

GetMatchingValues(MessageBuffer, ICollection<TFilterData>) GetMatchingValues(MessageBuffer, ICollection<TFilterData>) GetMatchingValues(MessageBuffer, ICollection<TFilterData>) GetMatchingValues(MessageBuffer, ICollection<TFilterData>)

傳回值,這個值表示指定的經緩衝處理訊息是否符合資料表中至少一個篩選條件的比對準則,並且將相符篩選條件的篩選資料加入至集合。Returns a value that indicates whether the match criterion of at least one filter in the table is satisfied by the specified buffered message and adds the filter data of the matching filters to a collection.

GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>) GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>) GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>) GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>)

傳回值,這個值表示 SeekableXPathNavigator 是否符合資料表中至少一個 navigator 的比對準則,並且將相符篩選條件的篩選資料加入至集合。Returns a value that indicates whether the match criterion of at least one SeekableXPathNavigator in the table is satisfied by the navigator and adds the filter data of the matching filters to a collection.

GetMatchingValues(XPathNavigator, ICollection<TFilterData>) GetMatchingValues(XPathNavigator, ICollection<TFilterData>) GetMatchingValues(XPathNavigator, ICollection<TFilterData>) GetMatchingValues(XPathNavigator, ICollection<TFilterData>)

傳回值,這個值表示 XPathNavigator 是否符合資料表中至少一個 navigator 的比對準則,並且將相符篩選條件的篩選資料加入至集合。Returns a value that indicates whether the match criterion of at least one XPathNavigator in the table is satisfied by the navigator and adds the filter data of the matching filters to a collection.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(KeyValuePair<MessageFilter,TFilterData>) Remove(KeyValuePair<MessageFilter,TFilterData>) Remove(KeyValuePair<MessageFilter,TFilterData>) Remove(KeyValuePair<MessageFilter,TFilterData>)

從篩選資料表移除篩選條件及其相關聯的篩選資料。Removes a filter and its associated filter data from the filter table.

Remove(MessageFilter) Remove(MessageFilter) Remove(MessageFilter) Remove(MessageFilter)

從篩選資料表移除篩選條件及其相關聯的篩選資料。Removes a filter and its associated filter data from the filter table.

Remove(XPathMessageFilter) Remove(XPathMessageFilter) Remove(XPathMessageFilter) Remove(XPathMessageFilter)

從篩選資料表移除 XPathMessageFilter 及其相關聯的篩選資料。Removes an XPathMessageFilter and its associated filter data from the filter table.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)
TrimToSize() TrimToSize() TrimToSize() TrimToSize()

藉由清除過多的配置或緩衝區來精簡篩選資料表。Compacts the filter table, purging any excess allocations or buffers.

TryGetValue(MessageFilter, TFilterData) TryGetValue(MessageFilter, TFilterData) TryGetValue(MessageFilter, TFilterData) TryGetValue(MessageFilter, TFilterData)

檢查篩選條件是否儲存在篩選資料表中。Checks whether a filter is stored in the filter table.

明確介面實作

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

傳回可逐一查看篩選資料表的列舉值。Returns an enumerator that can iterate through the filter table.

Extension Methods

CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>)

傳回DataTable,其中包含副本DataRow物件,指定輸入IEnumerable<T>物件其中泛型參數TDataRowReturns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

複本DataRow至指定的物件DataTable,根據輸入IEnumerable<T>物件其中泛型參數TDataRowCopies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

複本DataRow至指定的物件DataTable,根據輸入IEnumerable<T>物件其中泛型參數TDataRowCopies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

篩選的項目IEnumerable根據指定的型別。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

啟用查詢的平行化作業。Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

將轉換IEnumerableIQueryableConverts an IEnumerable to an IQueryable.

Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>)

傳回包含來源集合中每個節點祖系的項目集合。Returns a collection of elements that contains the ancestors of every node in the source collection.

Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName)

傳回包含來源集合中每個節點祖系的已篩選項目集合。Returns a filtered collection of elements that contains the ancestors of every node in the source collection. 集合中只會包含具有相符之 XName 的項目。Only elements that have a matching XName are included in the collection.

DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>)

傳回來源集合中每個文件和項目之子代節點的集合。Returns a collection of the descendant nodes of every document and element in the source collection.

Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>)

傳回包含來源集合中每個項目和文件之子代項目的項目集合。Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName)

傳回已篩選的項目集合,其中包含來源集合中每個項目和文件的子代項目。Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. 集合中只會包含具有相符之 XName 的項目。Only elements that have a matching XName are included in the collection.

Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>)

傳回來源集合中每個項目和文件的子項目集合。Returns a collection of the child elements of every element and document in the source collection.

Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName)

傳回來源集合中每個項目和文件的已篩選子項目集合。Returns a filtered collection of the child elements of every element and document in the source collection. 集合中只會包含具有相符之 XName 的項目。Only elements that have a matching XName are included in the collection.

InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>)

傳回包含來源集合中所有節點的節點集合,依據文件順序來排序。Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>)

傳回來源集合中每個文件和項目的子節點集合。Returns a collection of the child nodes of every document and element in the source collection.

Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>)

在來源集合中,從每一個節點的父節點移除這些節點。Removes every node in the source collection from its parent node.

適用於