This documentation is archived and is not being maintained.

IDictionary.Values Property

When implemented by a class, gets an ICollection containing the values in the IDictionary.

[Visual Basic]
ReadOnly Property Values As ICollection
ICollection Values {get;}
__property ICollection* get_Values();
function get Values() : ICollection;

Property Value

An ICollection containing the values in the IDictionary.


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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

IDictionary Interface | IDictionary Members | System.Collections Namespace | ICollection