Partilhar via


BooleanManagedProperty Class

 

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

Defines a managed property that stores a Boolean value.

For the Web API the corresponding type is BooleanManagedProperty ComplexType.

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

Syntax

[DataContractAttribute(Name = "BooleanManagedProperty", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class BooleanManagedProperty : ManagedProperty<bool>
<DataContractAttribute(Name := "BooleanManagedProperty", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class BooleanManagedProperty
    Inherits ManagedProperty(Of Boolean)

Constructors

Name Description
System_CAPS_pubmethod BooleanManagedProperty()

Initializes a new instance of theBooleanManagedProperty class

System_CAPS_pubmethod BooleanManagedProperty(Boolean)

Initializes a new instance of the BooleanManagedProperty class

Properties

Name Description
System_CAPS_pubproperty CanBeChanged

Gets or sets whether the managed property value can be changed.(Inherited from ManagedProperty<T>.)

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from ManagedProperty<T>.)

System_CAPS_pubproperty ManagedPropertyLogicalName

Gets the logical name for the managed property.(Inherited from ManagedProperty<T>.)

System_CAPS_pubproperty Value

Gets or sets the value of the managed property.(Inherited from ManagedProperty<T>.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(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
Sample: Create and update entity metadata

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright