다음을 통해 공유


Unit.Equality 연산자

첫 번째 인수와 두 번째 인수가 같은지 여부를 나타냅니다.

네임스페이스:System.Reactive
어셈블리: System.Reactive(System.Reactive.dll)

구문

'Declaration
Public Shared Operator = ( _
    first As Unit, _
    second As Unit _
) As Boolean
'Usage
Dim first As Unit
Dim second As Unit
Dim returnValue As Boolean

returnValue = (first = second)
public static bool operator ==(
    Unit first,
    Unit second
)
public:
static bool operator ==(
    Unit first, 
    Unit second
)
static let inline (=)
        first:Unit * 
        second:Unit  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

매개 변수

반환 값

형식: System.Boolean
항상 true를 반환합니다.

참고 항목

참조

단위 구조

System.Reactive 네임스페이스