CompactionStrategy.EnsureNonNegative(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ensures the provided value is not a negative number.
protected static int EnsureNonNegative(int value);
static member EnsureNonNegative : int -> int
Protected Shared Function EnsureNonNegative (value As Integer) As Integer
Parameters
- value
- Int32
The target value.
Returns
0 if negative; otherwise the value