ProvideDependentAssemblyAttribute.TryParseVersion(String, Version) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Try to parse a string into a Version. Unlike Version.TryParse, this method ensures that the input consists of four numbers, as opposed to considering the build and revision numbers optional.
protected:
bool TryParseVersion(System::String ^ input, [Runtime::InteropServices::Out] Version ^ % result);
protected bool TryParseVersion (string input, out Version result);
member this.TryParseVersion : string * Version -> bool
Protected Function TryParseVersion (input As String, ByRef result As Version) As Boolean
- input
- String
String to be parsed.
true
if the string was parsed successfully, false
if the string was not parsed successfully.
Unlike TryParse, this method ensures that the input consists of four numbers, as opposed to considering the build and revision numbers optional.