Table of Contents

Method TryParse

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

TryParse(string, out HarpVersion)

Converts a string representation of a HarpVersion to its equivalent value. A return value indicates whether the conversion succeeded.

public static bool TryParse(string version, out HarpVersion value)

Parameters

version string

The string representing a HarpVersion.

value HarpVersion

When this method returns, contains the equivalent HarpVersion object for the specified string representation if the conversion was successful; otherwise, contains null.

Returns

bool

true if the conversion was successful; otherwise, false.