共用方式為


LabelSpec.IsLegalSpec Method (String, Boolean)

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

Syntax

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

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

LabelSpec Class

IsLegalSpec Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace