Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Validates the format of the specified string that describes version.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Dichiarazione
Public Shared Function Validate ( _
version As String _
) As Boolean
public static bool Validate(
string version
)
public:
static bool Validate(
String^ version
)
static member Validate :
version:string -> bool
public static function Validate(
version : String
) : boolean
Parameters
- version
Type: System.String
The string to validate.
Return Value
Type: System.Boolean
True if the specified string is a valid format for describing version; otherwise, false.
Remarks
A valid version string must be in the format: "MAJOR.MINOR[.BUILD[.REVISION]]". Elements in brackets are optional.
.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.