INumberBase<TSelf>.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ğerlerin doygunluğunu sağlar.

public:
generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static override TSelf CreateSaturating(TOther value);
public static virtual TSelf CreateSaturating<TOther> (TOther value) where TOther : System.Numerics.INumberBase<TOther>;
static member CreateSaturating : 'Other -> 'Self (requires 'Other :> System.Numerics.INumberBase<'Other>)
Public Shared Overrides Function CreateSaturating(Of TOther As INumberBase(Of TOther)) (value As TOther) As TSelf

Tür Parametreleri

TOther

türü value.

Parametreler

value
TOther

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

Döndürülenler

TSelf

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

Özel durumlar

TOther Desteklenmez.

Şunlara uygulanır