Returns true if the type is any of the integral numeric data types: int, uint, long, ulong, short, ushort, sbyte and byte.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public static bool IsNumericIntegral(
	this Type type
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsNumericIntegral ( _
	type As Type _
) As Boolean

Parameters

type
Type: System..::..Type
Type.

Return Value

True if the type is an integral numeric.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. 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