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

Description

Removes the value with the specified key.

Syntax

dictionaryInstance.Remove(string key)

Arguments

ClassNameDescription
stringkey検索されるキ-。

Return value

ClassDescription
boolValue that indicates whether the removing was success.

Sample code

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

bool success = anyDictionary.Remove("ww");

Notes

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

Links for reference

Copyright © Rice All rights reserved.