Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  dictionary  >  Get(string)
dictionary class : Get(string) method

Description

Gets the value that associated with the specified key.

Syntax

dictionaryInstance.Get(string key)

Arguments

ClassNameDescription
stringkey検索されるキ-。

Return value

ClassDescription
someClassThe value that associated with the specified key.

Sample code

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

string valueStr = anyDictionary.Get("ww");

Notes

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

Links for reference

Copyright © Rice All rights reserved.