This documentation is archived and is not being maintained.

SqlString Less Than Operator

Performs a logical comparison of the two SqlString operands to determine if the first is less than the second.

[Visual Basic]
returnValue = SqlString.op_LessThan(x, y)
[C#]
public static SqlBoolean operator <(
 SqlString x,
 SqlString y
);
[C++]
public: static SqlBoolean op_LessThan(
 SqlString x,
 SqlString 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 LessThan method instead of the SqlString less than 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 SqlString.
y
A SqlString.

Parameters [C#, C++]

x
A SqlString.
y
A SqlString.

Return Value

A SqlBoolean that is True if the first instance is less than the second instance, otherwise False. If either instance of SqlString is null, the Value of the SqlBoolean will be Null.

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

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

Show: