Share via


ConvertDateAndTimeBehaviorRequest.AutoConvert Property

Definition

Gets or sets whether to automatically convert to DateOnly value, if possible. Optional.

public:
 property bool AutoConvert { bool get(); void set(bool value); };
public bool AutoConvert { get; set; }
member this.AutoConvert : bool with get, set
Public Property AutoConvert As Boolean

Property Value

true if automatically convert to DateOnly value; otherwise false.

Remarks

If this parameter is not specified, by default true is used. If you specify false, the rule specified in the ConversionRule parameter is used.

Applies to