次の方法で共有


SqlInt16.OnesComplement メソッド

~ 演算子は、 SqlByte オペランドでビットごとの 1 の補数演算を実行します。

Public Shared Function OnesComplement( _
   ByVal x As SqlInt16 _) As SqlInt16
[C#]
public static SqlInt16 OnesComplement(SqlInt16x);
[C++]
public: static SqlInt16 OnesComplement(SqlInt16x);
[JScript]
public static function OnesComplement(
   x : SqlInt16) : SqlInt16;

パラメータ

  • x
    SqlInt16 構造体。

戻り値

指定した SqlInt16 構造体の補数を格納している Value プロパティを持つ SqlInt16 構造体。

必要条件

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

参照

SqlInt16 構造体 | SqlInt16 メンバ | System.Data.SqlTypes 名前空間