TestAndCategoryPair Implicit 변환 (TestAndCategoryPair to TestListCategoryId)

이 API는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다.

TestAndCategoryPair 개체를 TestListCategoryId 개체와 비교할 때 암시적 연산자를 나타냅니다.

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

구문

‘선언
Public Shared Widening Operator CType ( _
    pair As TestAndCategoryPair _
) As TestListCategoryId
public static implicit operator TestListCategoryId (
    TestAndCategoryPair pair
)
static implicit operator TestListCategoryId^ (
    TestAndCategoryPair^ pair
)
F#에서는 캐스팅 연산자를 새로 선언할 수 없습니다.
JScript에서는 캐스팅 연산자를 새로 선언할 수 없습니다.

매개 변수

반환 값

형식: Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
CategoryId 속성의 값입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

TestAndCategoryPair 클래스

Implicit 오버로드

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

CategoryId