Export (0) Print
Expand All

TestExecutionEventArgs.Instance Property

Gets the instance of test class. Defined only in test methods.

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

public Object Instance { get; }

Property Value

Type: System.Object
The instance of test class. Defined only in test methods.

This property is defined only in Test methods.

Show:
© 2014 Microsoft