Export (0) Print
Expand All

PrivateObject.Target Property

Gets or sets the wrapped object.

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

public Object Target { get; set; }

Property Value

Type: System.Object
The wrapped object.

ExceptionCondition
ArgumentNullException

Try to set this property to null.

Show:
© 2015 Microsoft