dictionary class : Values() method

Description

Gets a list of the values in the dictionary.

Syntax

dictionaryInstance.Values()

Arguments

None

Return value

ClassDescription
someListA list of the values in the dictionary.

Sample code

//anyDictionary is a instance of dictionary{string} type.

list{string} valueList = anyDictionary.Values();

Notes

It's a wrapper of the System.Collections.Generic.Dictionary<TKey, TValue>.Values.

Links for reference

Copyright © Rice All rights reserved.