GuidConverter Constructor

Initializes a new GuidConverter instance and allows to specify a format string.

Definition

Namespace: FolkerKinzel.CsvTools.Mappings.TypeConverters
Assembly: FolkerKinzel.CsvTools.Mappings (in FolkerKinzel.CsvTools.Mappings.dll) Version: 1.1.0+1263e8243dc2cd78095f678f813d7d9c52ea4315
C#
public GuidConverter(
	string? format = "D",
	bool throwing = true,
	Guid defaultValue = default
)

Parameters

format  String  (Optional)
A format string that is used for the String output of Guid values. The accepted values are "N", "D", "B", "P", "X", null and Empty.
throwing  Boolean  (Optional)
Sets the value of the Throwing property.
defaultValue  Guid  (Optional)
Sets the value of the DefaultValue property.

Exceptions

ArgumentExceptionformat is not valid.

See Also