Char.INumberBase<Char>.TryConvertToSaturating<TOther> メソッド

定義

現在の型のインスタンスを別の型に変換し、現在の型の表現可能な範囲外の値を飽和させます。

generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static bool System.Numerics.INumberBase<System.Char>.TryConvertToSaturating(char value, [Runtime::InteropServices::Out] TOther % result) = System::Numerics::INumberBase<char>::TryConvertToSaturating;
static bool INumberBase<char>.TryConvertToSaturating<TOther> (char value, out TOther result) where TOther : System.Numerics.INumberBase<TOther>;
static member System.Numerics.INumberBase<System.Char>.TryConvertToSaturating : char * 'Other -> bool (requires 'Other :> System.Numerics.INumberBase<'Other>)
 Shared Function TryConvertToSaturating(Of TOther As INumberBase(Of TOther)) (value As Char, ByRef result As TOther) As Boolean Implements INumberBase(Of Char).TryConvertToSaturating

型パラメーター

TOther

変換先の value 型。

パラメーター

value
Char

のインスタンス TOtherを作成するために使用される値。

result
TOther

このメソッドから戻るときに、 からvalue変換された のTOtherインスタンスが格納されます。

戻り値

false がサポートされていない場合 TOther は 。それ以外の場合 trueは 。

実装

適用対象