Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns true if labelSpec is a valid label specification.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
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
labelSpec
Type: System.StringLabel specification to validate
permitWildcardNames
Type: System.BooleanIndicates whether wildcard characters in label names are permitted
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.