This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.MinVer.
Summary
Converts the specified string representation of MinVer-compatible version to its
MinVerVersion equivalent and returns a value that indicates whether the conversion succeeded.
- Assembly
- Cake
.MinVer .dll - Namespace
- Cake
.MinVer - Containing Type
- MinVerVersion
Syntax
public static bool TryParse(string versionString, out MinVerVersion version)
Parameters
| Name | Type | Description |
|---|---|---|
| versionString | string | A string containing a string version to convert. |
| version | MinVerVersion | When this method returns , contains the MinVerVersion value equivalent to the version contained in versionString, if the conversion succeeded, or if the conversion failed. The conversion fails if the versionString parameter is null, is an empty string (""), or does not contain a valid string representation of a MinVer-compatible version. |
Return Value
| Type | Description |
|---|---|
| bool | if the versionString parameter was converted successfully; otherwise, . |
