ITestAction.CopyToNewOwner Method
Performs a deep copy of this action to a new owner.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function CopyToNewOwner ( _
newOwner As ITestBase _
) As ITestAction
ITestAction CopyToNewOwner(
ITestBase newOwner
)
ITestAction^ CopyToNewOwner(
ITestBase^ newOwner
)
abstract CopyToNewOwner :
newOwner:ITestBase -> ITestAction
function CopyToNewOwner(
newOwner : ITestBase
) : ITestAction
Parameters
newOwner
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestBaseEither an ITestCase object or an ISharedStep object. Both derive from ITestBase.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestAction
A copy of this test action.
.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.