共用方式為


MSTest.TestContainers Property

Gets or sets an enumerable collection of strings identifying the test containers that contain the tests to run.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property TestContainers As InArgument(Of IEnumerable(Of String))
[BrowsableAttribute(true)]
public InArgument<IEnumerable<string>> TestContainers { get; set; }
[BrowsableAttribute(true)]
public:
property InArgument<IEnumerable<String^>^>^ TestContainers {
    InArgument<IEnumerable<String^>^>^ get ();
    void set (InArgument<IEnumerable<String^>^>^ value);
}
[<BrowsableAttribute(true)>]
member TestContainers : InArgument<IEnumerable<string>> with get, set
function get TestContainers () : InArgument<IEnumerable<String>>
function set TestContainers (value : InArgument<IEnumerable<String>>)

Property Value

Type: System.Activities.InArgument<IEnumerable<String>>
An enumerable collection of strings identifying the test containers that contain the tests to run.

Remarks

For more information, see Command-Line Options for Publishing Test Results.

.NET Framework Security

See Also

Reference

MSTest Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace