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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
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 | |
---|---|---|
DefaultValue | Gets the default value of this domain property. | |
DisplayName | Gets the display name of the element. (Inherited from DomainObjectInfo.) | |
DomainClass | Gets the domain class where this property is declared. | |
DomainModel | Gets domain model where the domain class that has this property is defined. (Overrides DomainObjectInfo.DomainModel.) | |
ElementNameProvider | Gets a unique name provider for this domain property. | |
Id | Gets the ID of the element. (Inherited from DomainObjectInfo.) | |
Kind | Gets the kind for this property. | |
Name | Gets the name of the element. (Inherited from DomainObjectInfo.) | |
PropertyInfo | Gets the information about the domain property. | |
PropertyType | Gets the type that is assigned to the property. | |
ValueHandler | Gets the value handler for this property. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | Gets the value of a property for a specific model element. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyValueChange | Notifies listeners that a value for a property has changed. | |
SetValue | Sets the property value on a given model element. | |
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.