Partager via


DomainPropertyInfo Class

Represents a property of a domain class.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.DomainObjectInfo
    Microsoft.VisualStudio.Modeling.DomainPropertyInfo

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public NotInheritable Class DomainPropertyInfo _
    Inherits DomainObjectInfo
public sealed class DomainPropertyInfo : DomainObjectInfo
public ref class DomainPropertyInfo sealed : public DomainObjectInfo
[<Sealed>]
type DomainPropertyInfo =  
    class 
        inherit DomainObjectInfo 
    end
public final class DomainPropertyInfo extends DomainObjectInfo

The DomainPropertyInfo type exposes the following members.

Properties

  Name Description
Public property DefaultValue Gets the default value of this domain property.
Public property DisplayName Gets the display name of the element. (Inherited from DomainObjectInfo.)
Public property DomainClass Gets the domain class where this property is declared.
Public property DomainModel Gets domain model where the domain class that has this property is defined. (Overrides DomainObjectInfo.DomainModel.)
Public property ElementNameProvider Gets a unique name provider for this domain property.
Public property Id Gets the ID of the element. (Inherited from DomainObjectInfo.)
Public property Kind Gets the kind for this property.
Public property Name Gets the name of the element. (Inherited from DomainObjectInfo.)
Public property PropertyInfo Gets the information about the domain property.
Public property PropertyType Gets the type that is assigned to the property.
Public property ValueHandler Gets the value handler for this property.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Gets the value of a property for a specific model element.
Public method NotifyValueChange Notifies listeners that a value for a property has changed.
Public method SetValue Sets the property value on a given model element.
Public method ToString Converts the element to a string. (Inherited from DomainObjectInfo.)

Top

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

Reference

Microsoft.VisualStudio.Modeling Namespace