GuidConverter Constructor
Initializes a new
GuidConverter instance and allows
to specify a format string.
Namespace: FolkerKinzel.CsvTools.Mappings.TypeConvertersAssembly: FolkerKinzel.CsvTools.Mappings (in FolkerKinzel.CsvTools.Mappings.dll) Version: 1.1.0+1263e8243dc2cd78095f678f813d7d9c52ea4315
public GuidConverter(
string? format = "D",
bool throwing = true,
Guid defaultValue = default
)
Public Sub New (
Optional format As String = "D",
Optional throwing As Boolean = true,
Optional defaultValue As Guid = Nothing
)
public:
GuidConverter(
String^ format = L"D",
bool throwing = true,
Guid defaultValue = Guid()
)
new :
?format : string *
?throwing : bool *
?defaultValue : Guid
(* Defaults:
let _format = defaultArg format "D"
let _throwing = defaultArg throwing true
let _defaultValue = defaultArg defaultValue new Guid()
*)
-> GuidConverter
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.