Share via


LabelItemSpec.Exclude Property

This determines whether the item(s) are included in the label or excluded.

When a set of label specs are used this can be used to exclude specific items from a recursive list.

Note: Exclusions must be posted as ServerItem specifications.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
Public Property Exclude As Boolean
public bool Exclude { get; set; }
public:
property bool Exclude {
    bool get ();
    void set (bool value);
}
member Exclude : bool with get, set
function get Exclude () : boolean 
function set Exclude (value : boolean)

Property Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

LabelItemSpec Class

Microsoft.TeamFoundation.VersionControl.Server Namespace