ControlType.Inequality 연산자
두 컨트롤 형식 개체를 비교하는 같지 않음 연산자(!=)를 나타냅니다.
네임스페이스: Microsoft.VisualStudio.TestTools.UITesting
어셈블리: Microsoft.VisualStudio.TestTools.UITest.Extension(Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
구문
‘선언
Public Shared Operator <> ( _
left As ControlType, _
right As ControlType _
) As Boolean
public static bool operator !=(
ControlType left,
ControlType right
)
public:
static bool operator !=(
ControlType^ left,
ControlType^ right
)
static let inline (<>)
left:ControlType *
right:ControlType : bool
JScript에서는 오버로드된 연산자를 지원하지 않습니다.
매개 변수
- left
형식: Microsoft.VisualStudio.TestTools.UITesting.ControlType
ControlType 개체입니다.
- right
형식: Microsoft.VisualStudio.TestTools.UITesting.ControlType
ControlType 개체입니다.
반환 값
형식: System.Boolean
제공된 이름이 Name 속성 값과 같지 않으면 true이고, 그렇지 않으면 false입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.