Clears all values which are associated with the specified key from the Shared Data Server.
Namespace: Facilita.Fc.RuntimeAssembly: fc_clr (in fc_clr.dll) Version: 9.5.7.98
Syntax
Parameters
- key
- Type: System String
The key against which the data is stored.
Remarks
Note |
---|
Note that it is possible to have both a list (created using AddFirst(String, String) or AddLast(String, String)) and a value created using Set(String, String) both using the same key. |
Examples
using Facilita.Fc.Runtime; SharedData sharedData = new SharedData(GetString("sharedDataHost", "localhost"), GetInt("sharedDataPort", 5099)); sharedData.Clear("MyKey"); // remove the list or value for the key
See Also