共用方式為


MSTest.Publish Property

Gets or sets a flag indicating whether to publish test results.

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

Syntax

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

Property Value

Type: System.Activities.InArgument<Boolean>
True to publish test results; otherwise, false.

.NET Framework Security

See Also

Reference

MSTest Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace