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 = "https://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 = "https://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 = "https://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 := "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
© 2016 Microsoft. All rights reserved. Copyright