UIntPtr.Clamp(UIntPtr, UIntPtr, UIntPtr) メソッド

定義

値を包括的な最小値と最大値にクランプします。

public:
 static UIntPtr Clamp(UIntPtr value, UIntPtr min, UIntPtr max) = System::Numerics::INumber<UIntPtr>::Clamp;
public static UIntPtr Clamp (UIntPtr value, UIntPtr min, UIntPtr max);
static member Clamp : unativeint * unativeint * unativeint -> unativeint
Public Shared Function Clamp (value As UIntPtr, min As UIntPtr, max As UIntPtr) As UIntPtr

パラメーター

value
UIntPtr

unativeint

クランプする値。

min
UIntPtr

unativeint

クランプする必要がある value 最小を含む 。

max
UIntPtr

unativeint

クランプする必要がある包括的な value 最大値。

戻り値

UIntPtr

unativeint

maxの包括的なvalue範囲にクランプしたmin結果。

実装

適用対象