pipeclient class : Clear() method
Description
Deletes all items on the channel.
Syntax
pipeclientInstance.Clear()
Arguments
None
Return value
None
Sample code
1: | pipe p = new pipe("newchannel"); |
2: | pipeclient pClient = new pipeclient("newchannel"); |
3: | pClient.Set("item1", "item1_value"); |
4: | string val = pClient.Get("item1"); // The val is "item1_value". |
5: | pClient.Clear(); // It clears all items. |
Notes
None
Links for reference
None