Click or drag to resize

AllObjectsExtensionCountT Method

Override to improve performance over IEnumerable LINQ extension

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 10.2.0.0 (10.2)
Syntax
public static int Count<T>(
	this AllObjects<T> sourceCollection
)

Parameters

sourceCollection
Type: VelocityDbAllObjectsT
the collection

Type Parameters

T
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 AllObjectsT. 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