IntPtr.CreateSaturating<TOther>(TOther) Метод

Определение

Создает экземпляр текущего типа из значения, насыщая все значения, которые выходят за пределы представляемого диапазона текущего типа.

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

Параметры типа

TOther

Тип параметра value.

Параметры

value
TOther

Значение, используемое для создания экземпляра TSelf.

Возвращаемое значение

IntPtr

nativeint

Экземпляр класса , TSelf созданный из value, насыщающий , если value выходит за пределы представленного TSelfдиапазона .

Реализации

Применяется к