EnumExtensions..::..Count<(Of <(<'T>)>)> Method

Counts the specified soure.

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static int Count<T>(
	Enum soure
)
where T : IConvertible

Type Parameters

T

Parameters

soure
Type: Enum
The soure.

Return Value

System.Int32.

Exceptions


ExceptionCondition
ArgumentExceptionT must be an enumerated type