LessThan Operator
Collapse the table of content
Expand the table of content

SqlHierarchyId.LessThan Operator (SqlHierarchyId, SqlHierarchyId)

 
equivalentCodeEntityM:Microsoft.SqlServer.Types.SqlHierarchyId.Compare(Microsoft.SqlServer.Types.SqlHierarchyId,Microsoft.SqlServer.Types.SqlHierarchyId)

Evaluates whether one specified SqlHierarchyId node is less than another.

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

public static SqlBoolean operator <(
	SqlHierarchyId hid1,
	SqlHierarchyId hid2
)

Parameters

hid1
Type: Microsoft.SqlServer.Types.SqlHierarchyId

First node to compare.

hid2
Type: Microsoft.SqlServer.Types.SqlHierarchyId

Second node to compare.

Return Value

Type: System.Data.SqlTypes.SqlBoolean

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

Returns null if either hid1 or hid2 are null.

This member is static.

Return to top
Show:
© 2016 Microsoft