pipeclient class : Keys() method

Description

Get a list of item names.

Syntax

pipeclientInstance.Keys()

Arguments

None

Return value

ClassDescription
list{string}A list of item names.

Sample code

1:

pipe p = new pipe("newchannel");

2:

pipeclient pClient = new pipeclient("newchannel");

3:

pClient.Set("item1", "item1_value");

4:

pClient.Set("item2", "item2_value");

5:

list{string} keys = pClient.Keys(); // "item1", "item2".

Notes

If there are no items, an empty list is returned.

Links for reference

None

Copyright © Cooker All rights reserved.