pipeclient class : Remove(string) method
Description
Deletes the specified item.
Syntax
pipeclientInstance.Remove(string itemName)
Arguments
| Class | Name | Description |
| string | itemName | A item name. |
Return value
| Class | Description |
| bool | A value that indicates whether it has been deleted. |
Sample code
| 1: | pipe p = new pipe("newchannel"); |
| 2: | pipeclient pClient = new pipeclient("newchannel"); |
| 3: | pClient.Set("item1", "item1_value"); |
| 4: | bool succ = pClient.Remove("item1"); // true. |
| 5: | succ = pClient.Remove("item2"); // false. |
Notes
Returns true if the deletion was successful. Otherwise, returns false.
Links for reference
None


