AgnosticProjectProperties.Versions.IsValidVersion Method
Returns a value that indicates whether the provided project version is a valid version.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Shared Function IsValidVersion ( _
version As String _
) As Boolean
public static bool IsValidVersion(
string version
)
public:
static bool IsValidVersion(
String^ version
)
static member IsValidVersion :
version:string -> bool
public static function IsValidVersion(
version : String
) : boolean
Parameters
- version
Type: System.String
A project version string.
Return Value
Type: System.Boolean
true if the version is previous 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.