Table of Contents

Method TryParse

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

TryParse(string, out FirmwareMetadata)

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

public static bool TryParse(string input, out FirmwareMetadata metadata)

Parameters

input string

The string representing the FirmwareMetadata.

metadata FirmwareMetadata

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

Returns

bool

true if the conversion was successful; otherwise, false.