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 | |
|---|---|---|
| .jpeg) | BooleanManagedProperty() | Initializes a new instance of theBooleanManagedProperty class | 
| .jpeg) | BooleanManagedProperty(Boolean) | Initializes a new instance of the BooleanManagedProperty class | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | CanBeChanged | Gets or sets whether the managed property value can be changed.(Inherited from ManagedProperty<T>.) | 
| .jpeg) | ExtensionData | Gets or sets the structure that contains extra data.(Inherited from ManagedProperty<T>.) | 
| .jpeg) | ManagedPropertyLogicalName | Gets the logical name for the managed property.(Inherited from ManagedProperty<T>.) | 
| .jpeg) | Value | Gets or sets the value of the managed property.(Inherited from ManagedProperty<T>.) | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | 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