Skip to content

DateTimeField.Factory method

Static factory for field, for backward compatibility, avoid using.

public static DateTimeField Factory(ICollection<Field> collection, string name, LocalText caption, 
    int size, FieldFlags flags, Func<IRow, DateTime?> getValue, Action<IRow, DateTime?> setValue)
parameter description
collection The collection.
name The name.
caption The caption.
size The size.
flags The flags.
getValue The get value.
setValue The set value.

Return Value

A new DateTimeField instance.

See Also