pipeclient class : Count() method
Description
Gets the number of items in the channel.
Syntax
pipeclientInstance.Count()
Arguments
None
Return value
| Class | Description |
| int | The number of items. |
Sample code
| 1: | pipe p = new pipe("newchannel"); |
| 2: | pipeclient pClient = new pipeclient("newchannel"); |
| 3: | int count = pClient.Count(); // The count is 0. |
| 4: | pClient.Set("item1", "item1_value"); |
| 5: | count = pClient.Count(); // The count is 1. |
Notes
None
Links for reference
None


