IntCollectionGetNextHigherValue Method

Return the next higher value in the collection from that one specified by the caller.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static int GetNextHigherValue(
	IntCollection items,
	int value
)

Parameters

items  IntCollection
IntCollection to search.
value  Int32
The reference value for which the next higher value is requested.

Return Value

Int32
If a higher value was found than the caller's value, then that higher value is returned. Otherwise, -1.

See Also