Partilhar via


DomainPropertyInfo Class

Definition

Represents a property of a domain class.

public ref class DomainPropertyInfo sealed : Microsoft::VisualStudio::Modeling::DomainObjectInfo
[System.Diagnostics.DebuggerDisplay("DomainProperty (Name = {name}, DomainClass = {domainClass.name,nq})")]
public sealed class DomainPropertyInfo : Microsoft.VisualStudio.Modeling.DomainObjectInfo
[<System.Diagnostics.DebuggerDisplay("DomainProperty (Name = {name}, DomainClass = {domainClass.name,nq})")>]
type DomainPropertyInfo = class
    inherit DomainObjectInfo
Public NotInheritable Class DomainPropertyInfo
Inherits DomainObjectInfo
Inheritance
DomainPropertyInfo
Attributes

Properties

DefaultValue

Gets default value of this domain property.

DisplayName

Gets display name of this domain object.

(Inherited from DomainObjectInfo)
DomainClass

Gets domain class this property is declared in.

DomainModel

Gets domain model where domain class of this property is defined.

ElementNameProvider

Gets unique name provider for this domain property or null if not specified.

Id

Gets the ID of this domain object.

(Inherited from DomainObjectInfo)
Kind

Gets the kind of this property.

Name

Gets the name of this domain object.

(Inherited from DomainObjectInfo)
PropertyInfo

Gets CLR PropertyInfo of this domain property.

PropertyType

Gets CLR property type.

ValueHandler

Gets the property value handler for this property.

Methods

GetValue(ModelElement)

Gets property value on a given model element.

NotifyValueChange(ModelElement)

Fire notifications (rules, events and OnValueChanging) to indicate a change in this value.

SetValue(ModelElement, Object)

Sets property value on a given model element.

ToString()

Gets string representing of this object.

(Inherited from DomainObjectInfo)

Applies to