ContentMergeIterator Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Iterates over child content nodes or following sibling nodes. Maintains the nodes in document order.
This API supports the product infrastructure and is not intended to be used directly from your code.
public value class ContentMergeIterator
public struct ContentMergeIterator
type ContentMergeIterator = struct
Public Structure ContentMergeIterator
- Inheritance
Remarks
- Assume that the list I of input nodes is in document order, with no duplicates. There are N nodes in list I.
- For each node in list I, derive a list of nodes consisting of matching children or following-sibling nodes. Call these lists S(1)...S(N).
- Let F be the first node in any list S(X), where X >= 1 and X < N 4. There exists exactly one contiguous sequence of lists S(Y)...S(Z), where Y > X and Z <= N, such that the lists S(X+1)...S(N) can be partitioned into these three groups: a. 1st group (S(X+1)...S(Y-1)) -- All nodes in these lists precede F in document order b. 2nd group (S(Y)...S(Z)) -- All nodes in these lists are duplicates of nodes in list S(X) c. 3rd group (> S(Z)) -- All nodes in these lists succeed F in document order 5. Given #4, node F can be returned once all nodes in the 1st group have been returned. Lists S(Y)...S(Z) can be discarded. And only a single node in the 3rd group need be generated in order to guarantee that all nodes in the 1st and 2nd groups have already been generated.
Properties
Current |
This API supports the product infrastructure and is not intended to be used directly from your code. Returns the current result navigator. |
Methods
Create(XmlNavigatorFilter) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes the ContentMergeIterator. Merges multiple sets of content nodes in document order and removes duplicates. |
MoveNext(XPathNavigator) |
This API supports the product infrastructure and is not intended to be used directly from your code. Positions the iterator on the next content or sibling node. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기