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