Click or drag to resize
SemanticVersionParse Method
Parses a string with a semantic version and returns the SemanticVersion. Exception if the string does not contain a valid semantic version.

Namespace: semver.tools
Assembly: semver.tools (in semver.tools.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static SemanticVersion Parse(
	string s
)

Parameters

s
Type: SystemString

Return Value

Type: SemanticVersion
Exceptions
ExceptionCondition
ArgumentException Throws an exception if the string does not contain a valid semantic version, or if the input string is null.
See Also