Jaa


DateTimeBehavior Class

Definition

Specifies the behavior of a DateTimeAttributeMetadata attribute using the DateTimeBehavior property.

For the Web API the corresponding type is DateTimeBehavior ComplexType.

public ref class DateTimeBehavior sealed : Microsoft::Xrm::Sdk::Metadata::ConstantsBase<System::String ^>
[System.Runtime.Serialization.DataContract(Name="DateTimeBehavior", Namespace="http://schemas.microsoft.com/xrm/7.1/Metadata")]
public sealed class DateTimeBehavior : Microsoft.Xrm.Sdk.Metadata.ConstantsBase<string>
[<System.Runtime.Serialization.DataContract(Name="DateTimeBehavior", Namespace="http://schemas.microsoft.com/xrm/7.1/Metadata")>]
type DateTimeBehavior = class
    inherit ConstantsBase<string>
Public NotInheritable Class DateTimeBehavior
Inherits ConstantsBase(Of String)
Inheritance
DateTimeBehavior
Attributes

Constructors

DateTimeBehavior()

Initializes a new instance of the DateTimeBehavior class.

Fields

DateOnly

Stores the date value with the time value as 12:00 AM (00:00:00) without the time zone information. Value = 2.

TimeZoneIndependent

Stores the date and time values without the time zone information. Value = 3.

UserLocal

Stores the date and time value with current user local time zone information. Value = 1.

Properties

ExtensionData (Inherited from ConstantsBase<T>)
Value (Inherited from ConstantsBase<T>)

Methods

Equals(Object)
GetHashCode()
ValueExistsInList(T)

Indicates whether a value exists in the list.

(Inherited from ConstantsBase<T>)

Operators

Equality(DateTimeBehavior, DateTimeBehavior)
Implicit(String to DateTimeBehavior)
Inequality(DateTimeBehavior, DateTimeBehavior)

Applies to