Condividi tramite


ManagedProperty<T> Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Represents a strongly typed managed property.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.ManagedProperty<T>
    Microsoft.Xrm.Sdk.BooleanManagedProperty
    Microsoft.Xrm.Sdk.Metadata.AttributeRequiredLevelManagedProperty

Syntax

[DataContractAttribute(Name = "ManagedProperty{0}", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
[KnownTypeAttribute(typeof(AttributeRequiredLevel))]
[KnownTypeAttribute(typeof(BooleanManagedProperty))]
public abstract class ManagedProperty<T> : IExtensibleDataObject
<DataContractAttribute(Name := "ManagedProperty{0}", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
<KnownTypeAttribute(GetType(AttributeRequiredLevel))>
<KnownTypeAttribute(GetType(BooleanManagedProperty))>
Public MustInherit Class ManagedProperty(Of T)
    Implements IExtensibleDataObject

Type Parameters

  • T
    Type: Type. The type of managed property.

Constructors

Name Description
System_CAPS_protmethod ManagedProperty<T>()

Initializes a new instance of the ManagedProperty<T> class

System_CAPS_protmethod ManagedProperty<T>(String)

Initializes a new instance of the ManagedProperty<T> class

Properties

Name Description
System_CAPS_pubproperty CanBeChanged

Gets or sets whether the managed property value can be changed.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty ManagedPropertyLogicalName

Gets the logical name for the managed property.

System_CAPS_pubproperty Value

Gets or sets the value of the managed property.

Methods

Name Description
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.)

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 Namespace
Use managed properties

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright