BigInteger.INumberBase<BigInteger>.TryConvertToTruncating<TOther> Metode
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mencoba mengonversi instans dari jenis saat ini ke jenis lain, memotong nilai apa pun yang berada di luar rentang yang dapat diwakili dari jenis saat ini.
generic <typename TOther>
where TOther : System::Numerics::INumberBase<TOther> static bool System.Numerics.INumberBase<System.Numerics.BigInteger>.TryConvertToTruncating(System::Numerics::BigInteger value, [Runtime::InteropServices::Out] TOther % result) = System::Numerics::INumberBase<System::Numerics::BigInteger>::TryConvertToTruncating;
static bool INumberBase<BigInteger>.TryConvertToTruncating<TOther>(System.Numerics.BigInteger value, out TOther result) where TOther : System.Numerics.INumberBase<TOther>;
static member System.Numerics.INumberBase<System.Numerics.BigInteger>.TryConvertToTruncating : System.Numerics.BigInteger * 'Other -> bool (requires 'Other :> System.Numerics.INumberBase<'Other>)
Shared Function TryConvertToTruncating(Of TOther As INumberBase(Of TOther)) (value As BigInteger, ByRef result As TOther) As Boolean Implements INumberBase(Of BigInteger).TryConvertToTruncating
- TOther
Jenis yang value
harus dikonversi.
- value
- BigInteger
Nilai yang digunakan untuk membuat instans TOther
.
- result
- TOther
Ketika metode ini kembali, berisi instans yang TOther
dikonversi dari value
.
false
jika TOther
tidak didukung; jika tidak, true
.
Produk | Versi |
---|---|
.NET | 7, 8, 9, 10 |
Umpan balik .NET
.NET adalah proyek sumber terbuka. Pilih tautan untuk memberikan umpan balik: