CollectionExtensions Klas

Definitie

Biedt uitbreidingsmethoden voor algemene verzamelingen.

public ref class CollectionExtensions abstract sealed
public static class CollectionExtensions
type CollectionExtensions = class
Public Module CollectionExtensions
Overname
CollectionExtensions

Methoden

Name Description
GetValueOrDefault<TKey,TValue>(IReadOnlyDictionary<TKey,TValue>, TKey, TValue)

Probeert de waarde op te halen die is gekoppeld aan de opgegeven key in de dictionary.

GetValueOrDefault<TKey,TValue>(IReadOnlyDictionary<TKey,TValue>, TKey)

Probeert de waarde op te halen die is gekoppeld aan de opgegeven key in de dictionary.

Remove<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue)

Probeert de waarde te verwijderen met de opgegeven key waarde uit de dictionary.

TryAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue)

Probeert de opgegeven key en value aan de dictionary.

Van toepassing op