Поделиться через


BooleanManagedProperty Class

 

Applies To: Dynamics CRM 2015

Defines a managed property that stores a Boolean value.

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 ref class BooleanManagedProperty sealed : ManagedProperty<bool>
[<Sealed>]
[<DataContractAttribute(Name = "BooleanManagedProperty", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")>]
type BooleanManagedProperty = 
    class
        inherit ManagedProperty<bool>
    end
<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

© 2016 Microsoft. All rights reserved. Copyright