ConstantsBase<T> Class

 

Applies To: Dynamics CRM 2015

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(StringFormatName))]
[KnownTypeAttribute(typeof(AttributeTypeDisplayName))]
[DataContractAttribute(Name = "ConstantsBase", Namespace = "http://schemas.microsoft.com/xrm/2013/Metadata")]
[KnownTypeAttribute(typeof(DateTimeBehavior))]
public abstract class ConstantsBase<T> : IExtensibleDataObject
generic<typename T>
[KnownTypeAttribute((StringFormatName^::typeid))]
[KnownTypeAttribute((AttributeTypeDisplayName^::typeid))]
[DataContractAttribute(Name = "ConstantsBase", Namespace = "http://schemas.microsoft.com/xrm/2013/Metadata")]
[KnownTypeAttribute((DateTimeBehavior^::typeid))]
public ref class ConstantsBase abstract : IExtensibleDataObject
[<AbstractClass>]
[<KnownTypeAttribute(typeof(StringFormatName))>]
[<KnownTypeAttribute(typeof(AttributeTypeDisplayName))>]
[<DataContractAttribute(Name = "ConstantsBase", Namespace = "http://schemas.microsoft.com/xrm/2013/Metadata")>]
[<KnownTypeAttribute(typeof(DateTimeBehavior))>]
type ConstantsBase<'T> = 
    class
        interface IExtensibleDataObject
    end
<KnownTypeAttribute(GetType(StringFormatName))>
<KnownTypeAttribute(GetType(AttributeTypeDisplayName))>
<DataContractAttribute(Name := "ConstantsBase", Namespace := "http://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

© 2016 Microsoft. All rights reserved. Copyright