共用方式為


LabelItemSpec Constructor

Initializes a new LabelItemSpec instance.

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

Syntax

'Declaration
Public Sub New ( _
    itemSpec As ItemSpec, _
    version As VersionSpec, _
    exclude As Boolean _
)
public LabelItemSpec(
    ItemSpec itemSpec,
    VersionSpec version,
    bool exclude
)
public:
LabelItemSpec(
    ItemSpec^ itemSpec, 
    VersionSpec^ version, 
    bool exclude
)
new : 
        itemSpec:ItemSpec * 
        version:VersionSpec * 
        exclude:bool -> LabelItemSpec
public function LabelItemSpec(
    itemSpec : ItemSpec, 
    version : VersionSpec, 
    exclude : boolean
)

Parameters

  • exclude
    Type: System.Boolean

    True to exclude this label from listing.

.NET Framework Security

See Also

Reference

LabelItemSpec Class

Microsoft.TeamFoundation.VersionControl.Client Namespace