ConvertDateAndTimeBehaviorRequest.AutoConvert Property

 

Applies To: Dynamics CRM 2015

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

Namespace:   Microsoft.Xrm.Sdk.Messages
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

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

Property Value

Type: System.Boolean

Returns Boolean
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.

See Also

ConvertDateAndTimeBehaviorRequest Class
Microsoft.Xrm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright