次の方法で共有


IFormatterConverter.ToUInt16 メソッド

値を 16 ビット符号なし整数に変換します。

IFormatterConverter 型は CLS との互換性がありません。CLS との互換性に関する詳細については 「共通言語仕様の概要」 を参照してください。

Function ToUInt16( _
   ByVal value As Object _) As UInt16
[C#]
ushort ToUInt16(
   objectvalue);
[C++]
unsigned short ToUInt16(
   Object* value);
[JScript]
function ToUInt16(
   value : Object) : UInt16;

パラメータ

  • value
    変換されるオブジェクト。

戻り値

変換後の値。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

IFormatterConverter インターフェイス | IFormatterConverter メンバ | System.Runtime.Serialization 名前空間