共用方式為


VersionControlLabel.Scope Property

Server item path representing the label's scope. Name + Scope must be unique.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property Scope As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public string Scope { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property String^ Scope {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member Scope : string with get, set
function get Scope () : String 
function set Scope (value : String)

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

VersionControlLabel Class

Microsoft.TeamFoundation.VersionControl.Server Namespace