Share via


TestAndCategoryPair 클래스

Visual Studio Test Professional의 테스트 목록 편집기 창에서 사용되는 테스트와 테스트 범주 간의 일치 항목을 나타냅니다.

상속 계층 구조

System.Object
  Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair

네임스페이스:  Microsoft.VisualStudio.TestTools.Common
어셈블리:  Microsoft.VisualStudio.QualityTools.Common(Microsoft.VisualStudio.QualityTools.Common.dll)

구문

‘선언
<SerializableAttribute> _
Public Class TestAndCategoryPair
[SerializableAttribute]
public class TestAndCategoryPair
[SerializableAttribute]
public ref class TestAndCategoryPair
[<SerializableAttribute>]
type TestAndCategoryPair =  class end
public class TestAndCategoryPair

TestAndCategoryPair 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 TestAndCategoryPair(TestId, TestListCategoryId) 제공된 테스트 ID 및 범주 ID를 사용하여 TestAndCategoryPair 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 TestAndCategoryPair(TestId, TestListCategoryId, Boolean, Boolean) 제공된 테스트 및 범주 ID와 끊어진 링크의 표시기를 사용하여 TestAndCategoryPair 클래스의 새 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Public 속성 CategoryId 테스트 범주의 ID를 가져옵니다.
Public 속성 Enabled 테스트와 범주 간의 링크가 사용되는지 여부를 나타내는 값을 가져옵니다.
Public 속성 IsBrokenLink 테스트와 범주 간의 링크가 끊어졌는지 여부를 나타내는 값을 가져옵니다.
Public 속성 TestId 테스트 ID를 가져옵니다.

위쪽

메서드

  이름 설명
Public 메서드 Equals 제공된 인스턴스가 이 인스턴스와 같은지 여부를 확인합니다. (Object.Equals(Object)을(를) 재정의함)
Protected 메서드 Finalize 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetHashCode 특정 형식에 대한 해시 함수 역할을 합니다. (Object.GetHashCode()을(를) 재정의함)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)
Public 메서드정적 멤버 ToTestId 인프라입니다. 제공된 TestAndCategoryPair 개체를 사용하여 TestId 개체를 반환합니다.
Public 메서드정적 멤버 ToTestListCategoryId 인프라입니다. 제공된 TestAndCategoryPair 개체를 사용하여 TestListCategoryId 개체를 반환합니다.

위쪽

연산자

  이름 설명
Public 연산자정적 멤버 Implicit(TestAndCategoryPair to TestId) 인프라입니다. TestAndCategoryPair 개체를 TestId 개체와 비교할 때 암시적 연산자를 나타냅니다.
Public 연산자정적 멤버 Implicit(TestAndCategoryPair to TestListCategoryId) 인프라입니다. TestAndCategoryPair 개체를 TestListCategoryId 개체와 비교할 때 암시적 연산자를 나타냅니다.

위쪽

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.VisualStudio.TestTools.Common 네임스페이스