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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
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
Protected method DomainPropertyValueHandler<TElement, TValue> Initializes a new instance of the DomainPropertyValueHandler<TElement, TValue> class.

Top

Properties

  Name Description
Public property DomainPropertyId Gets the ID of the domain property supported by this handler. (Inherited from DomainPropertyValueHandler.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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 domain property for a specified element.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnValueChanged Occurs after a property value has been changed.
Protected method OnValueChanging Alerts listeners when a property value is about to change.
Public method SetValue Sets a domain property value for a specified element.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method ValueChanged Adds a transaction record and raises the OnValueChanged event.
Protected method 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.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace