SortedSet<T>.SymmetricExceptWith(IEnumerable<T>) Metodo
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Modifica l'oggetto SortedSet<T> corrente in modo che contenga solo elementi presenti in tale oggetto o nella raccolta specificata, ma non in entrambi.
public:
virtual void SymmetricExceptWith(System::Collections::Generic::IEnumerable<T> ^ other);
public void SymmetricExceptWith (System.Collections.Generic.IEnumerable<T> other);
abstract member SymmetricExceptWith : seq<'T> -> unit
override this.SymmetricExceptWith : seq<'T> -> unit
Public Sub SymmetricExceptWith (other As IEnumerable(Of T))
- other
- IEnumerable<T>
Raccolta da confrontare con l'oggetto SortedSet<T> corrente.
other
è null
.
Tutti gli elementi duplicati in other
vengono ignorati.
Se il other
parametro è una SortedSet<T> raccolta con lo stesso operatore di confronto di uguaglianza dell'oggetto corrente SortedSet<T> , questo metodo è un'operazione O(n log m)
. In caso contrario, questo metodo è un'operazione O(n log m) + O(n log n)
, dove n
è il numero di elementi in other
e m
è Count.
Prodotto | Versioni |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.0, 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1 |
UWP | 10.0 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: