다음을 통해 공유


GeographyPosition.Equality 연산자

같음 비교를 수행합니다.

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

구문

‘선언
Public Shared Operator = ( _
    left As GeographyPosition, _
    right As GeographyPosition _
) As Boolean
‘사용 방법
Dim left As GeographyPosition
Dim right As GeographyPosition
Dim returnValue As Boolean

returnValue = (left = right)
public static bool operator ==(
    GeographyPosition left,
    GeographyPosition right
)
public:
static bool operator ==(
    GeographyPosition^ left, 
    GeographyPosition^ right
)
static let inline (=)
        left:GeographyPosition * 
        right:GeographyPosition  : bool
JScript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.

매개 변수

반환 값

유형: System.Boolean
각 좌표 쌍이 같으면 true이고, 그렇지 않으면 false입니다.

참고 항목

참조

GeographyPosition 클래스

System.Spatial 네임스페이스