Skip to main content
.NET Framework Class Library for Silverlight
DictionaryTKey, TValueIDictionaryTKey, TValueValues Property
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets an ICollectionT containing the values in the IDictionaryTKey, TValue.

Namespace:   System.Collections.Generic
Assembly:  mscorlib (in mscorlib.dll)

Syntax
Private ReadOnly Property Values As ICollection(Of TValue)
	Implements IDictionary(Of TKey, TValue).Values
Dim instance As Dictionary
Dim value As ICollection(Of TValue)

value = CType(instance, IDictionary(Of TKey, TValue)).Values
ICollection<TValue> IDictionary<TKey, TValue>.Values { get; }
private:
virtual property ICollection<TValue>^ Values {
	ICollection<TValue>^ get () sealed = IDictionary<TKey, TValue>::Values::get;
}
JScript does not support explicit interface implementations.

Property Value

Type: System.Collections.GenericICollection TValue

An ICollectionT of type TValue containing the values in the IDictionaryTKey, TValue.

Implements

IDictionaryTKey, TValueValues
Remarks

The order of the values in the returned ICollectionT is unspecified, but it is guaranteed to be the same order as the corresponding keys in the ICollectionT returned by the Keys property.

Getting the value of this property is an O(1) operation.