Cuemon .NET Framework
ValidAsNumericOperand<T> Method

The type of the value for an operand operation.
Validates if the specified T is within the allowed range of numeric operands.
Public Shared Sub ValidAsNumericOperand(Of T As {New, IComparable(Of T), IEquatable(Of T), IConvertible, Struct})() 
public static void ValidAsNumericOperand<T>()
where T: new(), IComparable<T>, IEquatable<T>, IConvertible, struct

Type Parameters

The type of the value for an operand operation.
System.ArgumentOutOfRangeExceptionT is outside the range of allowed types.
Allowed types are: System.Byte, System.Decimal, System.Double, System.Int16, System.Int32, System.Int64, System.SByte, System.Single, System.UInt16, System.UInt32 or System.UInt64.

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


AssignmentUtility Class
AssignmentUtility Members



| Cuemon is licensed under a The MIT License (MIT)

© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback