Evaluates whether one specified SqlHierarchyId node is less than another.
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)
语法
声明
Public Shared Operator < ( _
hid1 As SqlHierarchyId, _
hid2 As SqlHierarchyId _
) As SqlBoolean
用法
Dim hid1 As SqlHierarchyId
Dim hid2 As SqlHierarchyId
Dim returnValue As SqlBoolean
returnValue = (hid1 < hid2)
public static SqlBoolean operator <(
SqlHierarchyId hid1,
SqlHierarchyId hid2
)
public:
static SqlBoolean operator <(
SqlHierarchyId hid1,
SqlHierarchyId hid2
)
static let inline(<)
hid1:SqlHierarchyId *
hid2:SqlHierarchyId : SqlBoolean
JScript 支持使用重载的运算符,但不支持声明新重载运算符。
参数
- hid1
类型:Microsoft.SqlServer.Types.SqlHierarchyId
First node to compare.
- hid2
类型:Microsoft.SqlServer.Types.SqlHierarchyId
Second node to compare.
返回值
类型:System.Data.SqlTypes.SqlBoolean
Boolean . Returns true if hid1 is less than hid2; otherwise, false.
注释
Returns nullnull 引用(在 Visual Basic 中为 Nothing) if either hid1 or hid2 are nullnull 引用(在 Visual Basic 中为 Nothing).
This member is static.