Brecham.Obex — An OBEX library for the .NET Framework

MenuKeyboardInput.GetIndexOfRange Method 

Get input from the user as an integer in the given range.

[Visual Basic]
Public Shared Function GetIndexOfRange( _
   ByVal range As Integer _
) As Integer
[C#]
public static int GetIndexOfRange(
   int range
);

Parameters

range
The size of the range to allow, value values being 0 through (range-1).

Return Value

As integer in the given range.

Exceptions

Exception Type Condition
EndOfStreamException The end of the input was reached.

See Also

MenuKeyboardInput Class | Brecham.Obex.Net Namespace