Int16.CreateSaturating<TOther>(TOther) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bir değerden geçerli türün bir örneğini oluşturur ve geçerli türün temsil edilebilir aralığının dışında kalan tüm değerleri doygun hale getirir.
public:
generic <typename TOther>
where TOther : System::Numerics::INumberBase<TOther> static short CreateSaturating(TOther value) = System::Numerics::INumberBase<short>::CreateSaturating;
public static short CreateSaturating<TOther>(TOther value) where TOther : System.Numerics.INumberBase<TOther>;
static member CreateSaturating : 'Other -> int16 (requires 'Other :> System.Numerics.INumberBase<'Other>)
Public Shared Function CreateSaturating(Of TOther As INumberBase(Of TOther)) (value As TOther) As Short
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 TSelfvaluedışındaysa value doygunluk ile oluşturulan TSelfbir örneği.