共用方式為


LabelSpec.IsLegalName Method (String, Boolean)

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

Syntax

'宣告
Public Shared Function IsLegalName ( _
    labelName As String, _
    permitWildcards As Boolean _
) As Boolean
public static bool IsLegalName(
    string labelName,
    bool permitWildcards
)
public:
static bool IsLegalName(
    String^ labelName, 
    bool permitWildcards
)
static member IsLegalName : 
        labelName:string * 
        permitWildcards:bool -> bool 
public static function IsLegalName(
    labelName : String, 
    permitWildcards : boolean
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

LabelSpec Class

IsLegalName Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace