UInt32.CreateSaturating<TOther>(TOther) Yöntem

Tanım

Geçerli türün bir örneğini bir değerden oluşturur ve geçerli türün temsil edilebilir aralığının dışında kalan tüm değerleri doygunluğa getirir.

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

Tür Parametreleri

TOther

türü value.

Parametreler

value
TOther

örneğini TSelfoluşturmak için kullanılan değer.

Döndürülenler

temsil edilebilir aralığının TSelf dışında kalırsa value , doygunluğundan valueoluşturulmuş bir TSelförneği.

Uygulamalar

Şunlara uygulanır