MacAddressTryParse Method

Tries to parse a string into a value.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static bool TryParse(
	string? s,
	IFormatProvider? provider,
	out MacAddress? result
)

Parameters

s  String
The string to parse.
provider  IFormatProvider
An object that provides culture-specific formatting information about s.
result  MacAddress
When this method returns, contains the result of successfully parsing s or an undefined value on failure.

Return Value

Boolean
if s was successfully parsed; otherwise, .

Implements

IParsableTSelfTryParse(String, IFormatProvider, TSelf)

See Also