Nyelv

UIntPtr.CreateSaturating<TOther>(TOther) Metódus

Definíció

Egy értékből hozza létre az aktuális típus egy példányát, amely az aktuális típus reprezentáló tartományán kívül eső értékeket telít át.

public:
generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static UIntPtr CreateSaturating(TOther value) = System::Numerics::INumberBase<UIntPtr>::CreateSaturating;
public static UIntPtr CreateSaturating<TOther>(TOther value) where TOther : System.Numerics.INumberBase<TOther>;
static member CreateSaturating : 'Other -> unativeint (requires 'Other :> System.Numerics.INumberBase<'Other>)
Public Shared Function CreateSaturating(Of TOther As INumberBase(Of TOther)) (value As TOther) As UIntPtr

Típusparaméterek

TOther

A típus value.

Paraméterek

value
TOther

A példány TSelflétrehozásához használt érték.

Válaszok

UIntPtr

unativeint

A következőből létrehozott példányTSelf: saturating, ha value az a reprezentáló tartományon valuekívül TSelfesik.

Megvalósítás

A következőre érvényes: