Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


UIntPtr.Clamp(UIntPtr, UIntPtr, UIntPtr) Method

Definition

Clamps a value to an inclusive minimum and maximum value.

C#
public static UIntPtr Clamp(UIntPtr value, UIntPtr min, UIntPtr max);

Parameters

value
UIntPtr

The value to clamp.

min
UIntPtr

The inclusive minimum to which value should clamp.

max
UIntPtr

The inclusive maximum to which value should clamp.

Returns

UIntPtr

The result of clamping value to the inclusive range of min and max.

Implements

Applies to

Termék Verziók
.NET 7, 8, 9, 10