Table of Contents

Method GetGuid

Namespace
Sisk.Core.Entity
Assembly
Sisk.Core.dll

GetGuid(IFormatProvider?)

Parses the value contained in this StringValue as a Guid. Throws an exception if the value couldn't be parsed to the target type.

public Guid GetGuid(IFormatProvider? formatProvider = null)

Parameters

formatProvider IFormatProvider

The IFormatProvider to use for parsing. Defaults to null.

Returns

Guid

The converted Guid.

Exceptions

FormatException

Thrown when the value cannot be parsed to a Guid.