Partilhar via


ExpectedReturn.Target Property

Gets the object on which the method was called.

Namespace: Microsoft.SpecExplorer.Runtime.Testing
Assembly: Microsoft.SpecExplorer.Runtime (in Microsoft.SpecExplorer.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
public Object Target { get; }

Property Value

The object on which the method was called; or null, for a static method or a method defined on the adapter.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

ExpectedReturn Structure
ExpectedReturn Members
Microsoft.SpecExplorer.Runtime.Testing Namespace