This topic has not yet been rated - Rate this topic

SqlByte Subtraction Operator

Subtracts the second SqlByte operand from the first.

[Visual Basic]
returnValue = SqlByte.op_Subtraction(x, y)
[C#]
public static SqlByte operator -(
 SqlByte x,
 SqlByte y
);
[C++]
public: static SqlByte op_Subtraction(
 SqlByte x,
 SqlByte y
);
[JScript]
returnValue = x - y;

[Visual Basic] In Visual Basic, you can use the operators defined by a type, but you cannot define your own. You can use the Subtract method instead of the SqlByte subtraction operator.

[JScript] In JScript, you can use the operators defined by a type, but you cannot define your own.

Arguments [Visual Basic, JScript]

x
A SqlByte structure.
y
A SqlByte structure.

Parameters [C#, C++]

x
A SqlByte structure.
y
A SqlByte structure.

Return Value

The results of subtracting the second SqlByte operand from the first.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SqlByte Structure | SqlByte Members | System.Data.SqlTypes Namespace

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.