UInt16.INumberBase<UInt16>.TryConvertFromSaturating<TOther> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
generic <typename TOther>
where TOther : System::Numerics::INumberBase<TOther> static bool System.Numerics.INumberBase<System.UInt16>.TryConvertFromSaturating(TOther value, [Runtime::InteropServices::Out] System::UInt16 % result) = System::Numerics::INumberBase<System::UInt16>::TryConvertFromSaturating;
static bool INumberBase<ushort>.TryConvertFromSaturating<TOther> (TOther value, out ushort result) where TOther : System.Numerics.INumberBase<TOther>;
static member System.Numerics.INumberBase<System.UInt16>.TryConvertFromSaturating : 'Other * uint16 -> bool (requires 'Other :> System.Numerics.INumberBase<'Other>)
Shared Function TryConvertFromSaturating(Of TOther As INumberBase(Of TOther)) (value As TOther, ByRef result As UShort) As Boolean Implements INumberBase(Of UShort).TryConvertFromSaturating
類型參數
- TOther
參數
- value
- TOther
- result
- UInt16