TeamFoundationVersion.Validate Method (Version)
Validates the format of the specified version.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Function Validate ( _
version As Version _
) As Boolean
public static bool Validate(
Version version
)
public:
static bool Validate(
Version^ version
)
static member Validate :
version:Version -> bool
public static function Validate(
version : Version
) : boolean
Parameters
- version
Type: System.Version
The version object to validate.
Return Value
Type: System.Boolean
True if the specified version object is valid; otherwise, false.
.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.