Click or drag to resize

BTreeExtensionsCountKey Method

Override to improve performance over IEnumerable LINQ extension

Namespace:  VelocityDb.Collection.BTree.Extensions
Assembly:  VelocityDb (in VelocityDb.dll) Version: 8.2.1.0 (8.2.1)
Syntax
public static int Count<Key>(
	this BTreeBase<Key, Key> sourceCollection
)

Parameters

sourceCollection
Type: VelocityDb.Collection.BTreeBTreeBaseKey, Key
the collection

Type Parameters

Key
key type

Return Value

Type: Int32
Size of the collection

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BTreeBaseKey, Key. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also