DateTimeBehavior Class
Applies To: Dynamics CRM 2015
Specifies the behavior of a DateTimeAttributeMetadata attribute using the DateTimeBehavior property.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Metadata.ConstantsBase<T>
Microsoft.Xrm.Sdk.Metadata.DateTimeBehavior
Syntax
[DataContractAttribute(Name = "DateTimeBehavior", Namespace = "https://schemas.microsoft.com/xrm/7.1/Metadata")]
public sealed class DateTimeBehavior : ConstantsBase<string>
[DataContractAttribute(Name = "DateTimeBehavior", Namespace = "https://schemas.microsoft.com/xrm/7.1/Metadata")]
public ref class DateTimeBehavior sealed : ConstantsBase<String^>
[<Sealed>]
[<DataContractAttribute(Name = "DateTimeBehavior", Namespace = "https://schemas.microsoft.com/xrm/7.1/Metadata")>]
type DateTimeBehavior =
class
inherit ConstantsBase<string>
end
<DataContractAttribute(Name := "DateTimeBehavior", Namespace := "https://schemas.microsoft.com/xrm/7.1/Metadata")>
Public NotInheritable Class DateTimeBehavior
Inherits ConstantsBase(Of String)
Constructors
Name | Description | |
---|---|---|
DateTimeBehavior() | Initializes a new instance of the DateTimeBehavior class. |
Properties
Name | Description | |
---|---|---|
ExtensionData | (Inherited from ConstantsBase<T>.) |
|
Value | (Inherited from ConstantsBase<T>.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Overrides Object.Equals(Object).) |
|
GetHashCode() | (Overrides Object.GetHashCode().) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
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. |
Operators
Name | Description | |
---|---|---|
Equality(DateTimeBehavior, DateTimeBehavior) | ||
Implicit(String to DateTimeBehavior) | ||
Inequality(DateTimeBehavior, DateTimeBehavior) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Sdk.Metadata Namespace
89969adc-8577-424c-bfcc-7f65c5d4bd19#BKMK_DateTimeAttrbuteMetadata
Return to top
© 2016 Microsoft. All rights reserved. Copyright