Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PrivateType Constructor (Type)

Initializes a new instance of the PrivateType class with the type information.

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

public PrivateType(
	Type type
)

Parameters

type
Type: Type

The wrapped Type to create.

ExceptionCondition
ArgumentNullException

type is null.

Creates a private type from the passed type object.

Show:
© 2015 Microsoft