Click or drag to resize

ExtensionMethodsParseVersion Method

Parse the version string

Namespace: SanteDB
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
public static Version ParseVersion(
	this string versionString,
	out string suffix
)

Parameters

versionString  String
The version string to be parsed
suffix  String
The version suffix

Return Value

Version
The parsed version as a .net version

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Note that this parsing will work on semantic versions such as 1.3-alpha1 parsing the suffix into suffix
See Also