Team Test API
PrivateType Class

Represents the type of a private class that gives access to private static implementations.

Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in microsoft.visualstudio.qualitytools.unittestframework.dll)

Syntax

Visual Basic (Declaration)
Public Class PrivateType
Visual Basic (Usage)
Dim instance As PrivateType
C#
public class PrivateType
C++
public ref class PrivateType
J#
public class PrivateType
JScript
public class PrivateType
Remarks

The test generator automatically creates the private type.

.NET Framework Security

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Tags :


Page view tracker