Ensures that the passed value is equal to or between the passed limits.

Namespace: Reimers.Google.Map
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public static int MoveToRange(
	this int value,
	int minValue,
	int maxValue
)

Parameters

value
Type: System..::..Int32
The value to move.
minValue
Type: System..::..Int32
The lower value in the permitted range.
maxValue
Type: System..::..Int32
The upper value in the permitted range.

Return Value

A Double value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int32. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also