PrivateType Class

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

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.SmartDevice.UnitTestFramework (in Microsoft.VisualStudio.SmartDevice.UnitTestFramework.dll)


Public Class PrivateType
Dim instance As PrivateType
public class PrivateType
public ref class PrivateType
public class PrivateType


The test generator automatically creates the private type.

.NET Framework Security

Inheritance Hierarchy


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


PrivateType Members

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

Other Resources

How to: Test a Private Method