Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Validates the format of the specified string that describes version.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
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.StringThe 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.