共用方式為


BuildSettings.HasProjectsToBuild Property

Gets a flag describing whether the ProjectsToBuild property is set and contains more than zero elements.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property HasProjectsToBuild As Boolean
[BrowsableAttribute(false)]
public bool HasProjectsToBuild { get; }
[BrowsableAttribute(false)]
public:
property bool HasProjectsToBuild {
    bool get ();
}
[<BrowsableAttribute(false)>]
member HasProjectsToBuild : bool with get
function get HasProjectsToBuild () : boolean

Property Value

Type: System.Boolean
True if ProjectsToBuild is set and contains more than zero elements; otherwise, false.

.NET Framework Security

See Also

Reference

BuildSettings Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace