NewWithMinMax(IRange,IComparable,IComparable) Method
Creates a new IRange derived instance of the same type as originalRange with the specified Min and Max
Syntax
public static IRange NewWithMinMax( IRange originalRange, IComparable min, IComparable max )
Parameters
- originalRange
- The original range to use as a reference
- min
- The min value of the new range
- max
- The max value of the new range
Return Value
A new IRange derived instance of the same type as originalRange
Requirements
Target Platforms: 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