pipeclient class : Count() method

Description

Gets the number of items in the channel.

Syntax

pipeclientInstance.Count()

Arguments

None

Return value

ClassDescription
intThe 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

Copyright © Cooker All rights reserved.