Click or drag to resize

FieldNullValueAttribute Class

Indicates the value to assign to the field in the case of a NULL value. A default value if none supplied in the field itself.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    FileHelpersFieldNullValueAttribute

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public sealed class FieldNullValueAttribute : Attribute

The FieldNullValueAttribute type exposes the following members.

Constructors
  NameDescription
Public methodFieldNullValueAttribute(Object)
Defines the default in event of a null value. Object must be of teh correct type
Public methodFieldNullValueAttribute(Type, String)
Indicates a type and a string to be converted to that type.
Top
Properties
  NameDescription
Public propertyNullValue
Default value for a null value.
Top
Remarks
You must specify a string and a converter that can be converted to the type or an object of the correct type to be directly assigned.

See the complete attributes list for more information and examples of each one.

See Also