次の方法で共有


SqlSingle 単項マイナス演算子

指定した SqlSingle 構造体の Value を無効にします。

returnValue = SqlSingle.op_UnaryNegation(x)
[C#]
public static SqlSingle operator -(SqlSinglex);
[C++]
public: static SqlSingle op_UnaryNegation(SqlSinglex);
[JScript]
returnValue = -x;

[Visual Basic] Visual Basic では、この型で定義されている演算子を使用することができます。ただし、独自に定義することはできません。

[JScript] JScript では、この型で定義されている演算子を使用することができます。ただし、独自に定義することはできません。

引数 [Visual Basic, JScript]

パラメータ [C#, C++]

戻り値

符号が逆の値を格納している SqlSingle 構造体。

必要条件

プラットフォーム: 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

参照

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