DomainPropertyValueHandler<TElement, TValue> Class
Represents the base class for strong-type domain property handlers.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainPropertyValueHandler
Microsoft.VisualStudio.Modeling.DomainPropertyValueHandler<TElement, TValue>
Microsoft.VisualStudio.Modeling.CalculatedPropertyValueHandler<TElement, TValue>
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Public MustInherit Class DomainPropertyValueHandler(Of TElement As ModelElement, TValue) _
Inherits DomainPropertyValueHandler
public abstract class DomainPropertyValueHandler<TElement, TValue> : DomainPropertyValueHandler
where TElement : ModelElement
generic<typename TElement, typename TValue>
where TElement : ModelElement
public ref class DomainPropertyValueHandler abstract : public DomainPropertyValueHandler
[<AbstractClass>]
type DomainPropertyValueHandler<'TElement, 'TValue when 'TElement : ModelElement> =
class
inherit DomainPropertyValueHandler
end
JScript does not support generic types or methods.
Type Parameters
- TElement
- TValue
The DomainPropertyValueHandler<TElement, TValue> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DomainPropertyValueHandler<TElement, TValue> | Initializes a new instance of the DomainPropertyValueHandler<TElement, TValue> class. |
Top
Properties
Name | Description | |
---|---|---|
DomainPropertyId | Gets the ID of the domain property supported by this handler. (Inherited from DomainPropertyValueHandler.) |
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 domain property for a specified element. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnValueChanged | Occurs after a property value has been changed. | |
OnValueChanging | Alerts listeners when a property value is about to change. | |
SetValue | Sets a domain property value for a specified element. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ValueChanged | Adds a transaction record and raises the OnValueChanged event. | |
ValueChanging | Performs validation and raises the OnValueChanging event. |
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.