다음을 통해 공유


ConstantsBase<T> Class

Definition

A base class for static classes whose properties represent constants

generic <typename T>
public ref class ConstantsBase abstract : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="ConstantsBase", Namespace="http://schemas.microsoft.com/xrm/2013/Metadata")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.DateTimeBehavior))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.StringFormatName))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.AttributeTypeDisplayName))]
public abstract class ConstantsBase<T> : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="ConstantsBase", Namespace="http://schemas.microsoft.com/xrm/2013/Metadata")>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.DateTimeBehavior))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.StringFormatName))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.AttributeTypeDisplayName))>]
type ConstantsBase<'T> = class
    interface IExtensibleDataObject
Public MustInherit Class ConstantsBase(Of T)
Implements IExtensibleDataObject

Type Parameters

T

Inheritance
ConstantsBase<T>
Derived
Attributes
Implements

Remarks

There are two derived classes: AttributeTypeDisplayName and StringFormatName.

Constructors

ConstantsBase<T>()

Fields

ValidValues

Properties

ExtensionData
Value

Methods

Add<T2>(T)
Create<T2>(T)
ValueExistsInList(T)

Indicates whether a value exists in the list.

Applies to