SByte.CreateTruncating<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 değerleri keserek.

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

Tür Parametreleri

TOther

türü value.

Parametreler

value
TOther

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

Döndürülenler

' den valueoluşturulan bir örneğiTSelf, temsil edilebilir aralığının TSelfdışında kalırsa value kesiliyor.

Uygulamalar

Şunlara uygulanır