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는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.
매개 변수
- left
유형: System.Spatial.GeographyPosition
첫 번째 위치입니다.
- right
유형: System.Spatial.GeographyPosition
두 번째 위치입니다.
반환 값
유형: System.Boolean
각 좌표 쌍이 같으면 true이고, 그렇지 않으면 false입니다.