DateTimeBehavior DateTimeBehavior DateTimeBehavior 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>
type DateTimeBehavior = class
    inherit ConstantsBase<string>
Public NotInheritable Class DateTimeBehavior
Inherits ConstantsBase(Of String)
Inheritance
DateTimeBehaviorDateTimeBehaviorDateTimeBehaviorDateTimeBehavior
Attributes

Constructors

DateTimeBehavior() DateTimeBehavior() DateTimeBehavior() DateTimeBehavior()

Initializes a new instance of the DateTimeBehavior class.

Fields

DateOnly DateOnly DateOnly DateOnly

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

TimeZoneIndependent TimeZoneIndependent TimeZoneIndependent TimeZoneIndependent

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

UserLocal UserLocal UserLocal UserLocal

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

ValueExistsInList(T) ValueExistsInList(T) ValueExistsInList(T) ValueExistsInList(T)

Indicates whether a value exists in the list.

(Inherited from ConstantsBase<T>)

Operators

Equality(DateTimeBehavior, DateTimeBehavior) Equality(DateTimeBehavior, DateTimeBehavior) Equality(DateTimeBehavior, DateTimeBehavior) Equality(DateTimeBehavior, DateTimeBehavior)

Implicit(String to DateTimeBehavior) Implicit(String to DateTimeBehavior) Implicit(String to DateTimeBehavior) Implicit(String to DateTimeBehavior)

Inequality(DateTimeBehavior, DateTimeBehavior) Inequality(DateTimeBehavior, DateTimeBehavior) Inequality(DateTimeBehavior, DateTimeBehavior) Inequality(DateTimeBehavior, DateTimeBehavior)

Properties

ExtensionData ExtensionData ExtensionData ExtensionData

(Inherited from ConstantsBase<T>)

Value Value Value Value

(Inherited from ConstantsBase<T>)

Applies to