Jaa


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
System_CAPS_protmethod ConstantsBase<T>()

Properties

Name Description
System_CAPS_pubproperty ExtensionData

System_CAPS_pubproperty Value

Methods

Name Description
System_CAPS_protmethodSystem_CAPS_static Add<T2>(T)

System_CAPS_protmethodSystem_CAPS_static Create<T2>(T)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_protmethod ValueExistsInList(T)

Indicates whether a value exists in the list.

Fields

Name Description
System_CAPS_protfieldSystem_CAPS_static 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