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)
Syntax
'Declaration
Public Property Target As Object
public Object Target { get; set; }
public:
property Object^ Target {
Object^ get ();
void set (Object^ value);
}
member Target : Object with get, set
function get Target () : Object
function set Target (value : Object)
Property Value
Type: Object
The wrapped object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Try to set this property to nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.