|
CommonIsNumericType(Type) Method
|
Determines if
type is a numeric type, i.e., has a
TypeCode that is one of:
Boolean,
SByte,
Byte,
Int16,
UInt16,
Int32,
UInt32,
Int64,
UInt64Single,
Double or
Decimal.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.182-beta
Syntax public static bool IsNumericType(
Type type
)
Public Shared Function IsNumericType (
type As Type
) As Boolean
public:
static bool IsNumericType(
Type^ type
)
static member IsNumericType :
type : Type -> bool
GSF.Common.IsNumericType = function(type);
View SourceParameters
- type Type
- Type to check.
Return Value
Booleantrue if
type is a numeric type; otherwise,
false.
See Also