Partager via


ConvertDateAndTimeBehaviorRequest.AutoConvert Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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 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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright