共用方式為


IProjectFile.AddTestContainer Method

Adds a test container assembly file to the list of TestContainers.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Function AddTestContainer As ITestContainer
ITestContainer AddTestContainer()
ITestContainer^ AddTestContainer()
abstract AddTestContainer : unit -> ITestContainer
function AddTestContainer() : ITestContainer

Return Value

Type: Microsoft.TeamFoundation.Build.Client.ITestContainer
The newly added TestContainer item.

.NET Framework Security

See Also

Reference

IProjectFile Interface

Microsoft.TeamFoundation.Build.Client Namespace