Click or drag to resize
VersionSpecTryParseNuGet Method
Attempts to parse a string with a version spec in NuGet format. See http://docs.nuget.org/docs/reference/versioning

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

Parameters

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

Return Value

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