Metoda TestAndCategoryPair.ToTestListCategoryId —
Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Zwraca TestListCategoryId obiektu za pomocą dostarczonego TestAndCategoryPair obiektu.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.Common
Zestaw: Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)
Składnia
'Deklaracja
Public Shared Function ToTestListCategoryId ( _
pair As TestAndCategoryPair _
) As TestListCategoryId
public static TestListCategoryId ToTestListCategoryId(
TestAndCategoryPair pair
)
public:
static TestListCategoryId^ ToTestListCategoryId(
TestAndCategoryPair^ pair
)
static member ToTestListCategoryId :
pair:TestAndCategoryPair -> TestListCategoryId
public static function ToTestListCategoryId(
pair : TestAndCategoryPair
) : TestListCategoryId
Parametry
- pair
Typ: Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair
A TestAndCategoryPair object.
Wartość zwracana
Typ: Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
Test listy kategorii identyfikator obiektu.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..