SequenceOrder Enum
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.
Specifies whether sequence elements must appear in the same order, or in any order, when comparing collections with AreSequenceEqual<T>(IEnumerable<T>, IEnumerable<T>, SequenceOrder, String, String, String).
public enum SequenceOrder
type SequenceOrder =
Public Enum SequenceOrder
- Inheritance
-
SequenceOrder
Fields
| Name | Value | Description |
|---|---|---|
| InOrder | 0 | Elements must appear in the same order in both sequences (LINQ SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) semantics). |
| InAnyOrder | 1 | Elements may appear in any order, but each element must appear the same number of times in both sequences (multiset equality). |