Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

AValue..::..Count Method

Returns the number of elements/chars if Value is either a collection or string. If Value is neither a collection or string, -1 is returned.

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public int Count()

Return Value

Number of items in a collection or chars in a string, otherwise -1.