DateTimeBehavior Members

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

The following tables list the members exposed by the DateTimeBehavior type.

Public Constructors

  Name Description
  DateTimeBehavior Initializes a new instance of the DateTimeBehavior class.

Top

Public Fields

  Name Description
public field static DateOnly Stores the date value with the time value as 12:00 AM (00:00:00) without the time zone information. Value = 2.
public field static TimeZoneIndependent Stores the date and time values without the time zone information. Value = 3.
public field static UserLocal Stores the date and time value with current user local time zone information. Value = 1.

Top

Public Properties

  Name Description
public property ExtensionData  (inherited from ConstantsBase)
public property Value  (inherited from ConstantsBase)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals Overridden.  
public method GetHashCode Overridden.  
public method GetType  (inherited from Object)
public methodstatic Equality  
public methodstatic Implicit  
public methodstatic Inequality  
public method ToString  (inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)
protected method ValueExistsInList  Indicates whether a value exists in the list. (inherited from ConstantsBase)

Top

See Also

Reference

DateTimeBehavior Class
Microsoft.Xrm.Sdk.Metadata Namespace
DateTimeAttributeMetadata behavior and format

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.