LabelSpec.IsLegalName Method (String, Boolean)
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
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
- labelName
Type: System.String
- permitWildcards
Type: System.Boolean
Return Value
Type: System.Boolean
Returns 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.