Half.INumberBase<Half>.TryConvertFromTruncating<TOther> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
generic <typename TOther>
where TOther : System::Numerics::INumberBase<TOther> static bool System.Numerics.INumberBase<System.Half>.TryConvertFromTruncating(TOther value, [Runtime::InteropServices::Out] Half % result) = System::Numerics::INumberBase<Half>::TryConvertFromTruncating;
static bool INumberBase<Half>.TryConvertFromTruncating<TOther> (TOther value, out Half result) where TOther : System.Numerics.INumberBase<TOther>;
static member System.Numerics.INumberBase<System.Half>.TryConvertFromTruncating : 'Other * Half -> bool (requires 'Other :> System.Numerics.INumberBase<'Other>)
Shared Function TryConvertFromTruncating(Of TOther As INumberBase(Of TOther)) (value As TOther, ByRef result As Half) As Boolean Implements INumberBase(Of Half).TryConvertFromTruncating
类型参数
- TOther
参数
- value
- TOther
- result
- Half