ConvertDateAndTimeBehaviorRequest.AutoConvert Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.