Click or drag to resize
SemanticVersionTryParse Method
Attempts to parse a string with a semantic version.

Namespace: semver.tools
Assembly: semver.tools (in semver.tools.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool TryParse(
	string s,
	out SemanticVersion result
)

Parameters

s
Type: SystemString
String to parse.
result
Type: semver.toolsSemanticVersion
The SemanticVersion, or null if the input string does not contain a valid semantic version.

Return Value

Type: Boolean
True if the input string contains a valid semantic version. False otherwise.
See Also