ITypeConverterTAcceptsNull Property
Gets a value indicating whether the converter accepts
null references as input.
Namespace: FolkerKinzel.CsvTools.Mappings.TypeConverters.InterfacesAssembly: FolkerKinzel.CsvTools.Mappings (in FolkerKinzel.CsvTools.Mappings.dll) Version: 1.1.0+1263e8243dc2cd78095f678f813d7d9c52ea4315
bool AcceptsNull { get; }
ReadOnly Property AcceptsNull As Boolean
Get
property bool AcceptsNull {
bool get ();
}
abstract AcceptsNull : bool with get
Property Value
Booleantrue if the converter allows
null values as input,
otherwise
false.
This value should be
true for all reference
types and
false for all value types, except
NullableT.
The behavior is equivalent to the behavior of the AllowNullAttribute:
Even if the converters DataType doesn't allow null
values, null will be accepted as input if the AcceptsNull
property is true.