LabelSpec.IsLegalSpec Method (String)
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 _
) As Boolean
public static bool IsLegalSpec(
string labelSpec
)
public:
static bool IsLegalSpec(
String^ labelSpec
)
static member IsLegalSpec :
labelSpec:string -> bool
public static function IsLegalSpec(
labelSpec : String
) : boolean
Parameters
- labelSpec
Type: System.String
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.