Condividi tramite


ReadOnlyDictionary45<TKey,TValue>.ValueCollection Class

Definition

A collection of dictionary values

[System.Serializable]
public sealed class ReadOnlyDictionary45<TKey,TValue>.ValueCollection : System.Collections.Generic.ICollection<TValue>, System.Collections.Generic.IEnumerable<TValue>, System.Collections.ICollection
[<System.Serializable>]
type ReadOnlyDictionary45<'Key, 'Value>.ValueCollection = class
    interface ICollection<'Value>
    interface seq<'Value>
    interface IEnumerable
    interface ICollection
Public NotInheritable Class ReadOnlyDictionary45(Of TKey, TValue).ValueCollection
Implements ICollection, ICollection(Of TValue), IEnumerable(Of TValue)

Type Parameters

TKey
TValue
Inheritance
ReadOnlyDictionary45<TKey,TValue>.ValueCollection
Attributes
Implements

Properties

Count

The count of values in the collection

Methods

CopyTo(TValue[], Int32)

Copies the values to the specified array

GetEnumerator()

Gets an enumerator

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)
ICollection.IsSynchronized
ICollection.SyncRoot
ICollection<TValue>.Add(TValue)
ICollection<TValue>.Clear()
ICollection<TValue>.Contains(TValue)
ICollection<TValue>.IsReadOnly
ICollection<TValue>.Remove(TValue)
IEnumerable.GetEnumerator()

Extension Methods

ToCommaSeparatedString<T>(IEnumerable<T>)

Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.

Applies to