Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PrivateObject Constructor

 

Initializes a new instance of the PrivateObject class.

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

NameDescription
System_CAPS_pubmethodPrivateObject(Object^)

Initializes a new instance of the PrivateObject class that creates the wrapper for the specified object.

System_CAPS_pubmethodPrivateObject(Object^, PrivateType^)

Initializes a new instance of the PrivateObject class that creates the wrapper for the specified object.

System_CAPS_pubmethodPrivateObject(Object^, String^)

Initializes a new instance of the PrivateObject class that creates the wrapper for the specified object.

System_CAPS_pubmethodPrivateObject(String^, String^, array<Object^>^)

Initializes a new instance of the PrivateObject class. This creates the object of the specified type and wraps it in the private object.

System_CAPS_pubmethodPrivateObject(String^, String^, array<Type^>^, array<Object^>^)

Initializes a new instance of the PrivateObject class. This creates an object of the specified type and wraps it in the private object.

System_CAPS_pubmethodPrivateObject(Type^, array<Object^>^)

Initializes a new instance of the PrivateObject class that creates the wrapper for the specified object.

System_CAPS_pubmethodPrivateObject(Type^, array<Type^>^, array<Object^>^)

Initializes a new instance of the PrivateObject class.

Return to top
Show: