BTreeExtensionsCountKey Method |
Override to improve performance over IEnumerable LINQ extension
Namespace:
VelocityDBExtensions.Extensions.BTree
Assembly:
VelocityDBExtensions (in VelocityDBExtensions.dll) Version: 8.2.1.0 (8.2.1)
Syntaxpublic static int Count<Key>(
this BTreeBase<Key, Key> sourceCollection
)
<ExtensionAttribute>
Public Shared Function Count(Of Key) (
sourceCollection As BTreeBase(Of Key, Key)
) As Integer
public:
[ExtensionAttribute]
generic<typename Key>
static int Count(
BTreeBase<Key, Key>^ sourceCollection
)
[<ExtensionAttribute>]
static member Count :
sourceCollection : BTreeBase<'Key, 'Key> -> int
Parameters
- sourceCollection
- Type: VelocityDb.Collection.BTreeBTreeBaseKey, Key
the collection
Type Parameters
- Key
- key type
Return Value
Type:
Int32Size 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