ConstantsBase<T> Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
A base class for static classes whose properties represent constants
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.DateTimeBehaviorConversionRule
Microsoft.Xrm.Sdk.Metadata.AttributeTypeDisplayName
Microsoft.Xrm.Sdk.Metadata.DateTimeBehavior
Microsoft.Xrm.Sdk.Metadata.StringFormatName
Syntax
[KnownTypeAttribute(typeof(AttributeTypeDisplayName))]
[KnownTypeAttribute(typeof(StringFormatName))]
[DataContractAttribute(Name = "ConstantsBase", Namespace = "https://schemas.microsoft.com/xrm/2013/Metadata")]
[KnownTypeAttribute(typeof(DateTimeBehavior))]
public abstract class ConstantsBase<T> : IExtensibleDataObject
<KnownTypeAttribute(GetType(AttributeTypeDisplayName))>
<KnownTypeAttribute(GetType(StringFormatName))>
<DataContractAttribute(Name := "ConstantsBase", Namespace := "https://schemas.microsoft.com/xrm/2013/Metadata")>
<KnownTypeAttribute(GetType(DateTimeBehavior))>
Public MustInherit Class ConstantsBase(Of T)
Implements IExtensibleDataObject
Type Parameters
- T
Constructors
Name | Description | |
---|---|---|
ConstantsBase<T>() |
Properties
Name | Description | |
---|---|---|
ExtensionData | ||
Value |
Methods
Name | Description | |
---|---|---|
Add<T2>(T) | ||
Create<T2>(T) | ||
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
ValueExistsInList(T) | Indicates whether a value exists in the list. |
Fields
Name | Description | |
---|---|---|
ValidValues |
Remarks
There are two derived classes: AttributeTypeDisplayName and StringFormatName.
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
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright