SqlHierarchyId.LessThan 연산자

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는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.

매개 변수

반환 값

유형: 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.

참고 항목

참조

SqlHierarchyId 구조

Microsoft.SqlServer.Types 네임스페이스