SqlHierarchyId.LessThan(SqlHierarchyId, SqlHierarchyId) Operator

Definition

Evaluates whether one specified SqlHierarchyId node is less than another.

public static System.Data.SqlTypes.SqlBoolean operator < (Microsoft.SqlServer.Types.SqlHierarchyId hid1, Microsoft.SqlServer.Types.SqlHierarchyId hid2);
static member ( < ) : Microsoft.SqlServer.Types.SqlHierarchyId * Microsoft.SqlServer.Types.SqlHierarchyId -> System.Data.SqlTypes.SqlBoolean
Public Shared Operator < (hid1 As SqlHierarchyId, hid2 As SqlHierarchyId) As SqlBoolean

Parameters

hid1
SqlHierarchyId

First node to compare.

hid2
SqlHierarchyId

Second node to compare.

Returns

Boolean. Returns true if hid1 is less than hid2; otherwise, false.

Applies to