Share via


DomainPropertyValueHandler<TElement, TValue>.SetValue Method

Sets a domain property value for a specified element.

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

Syntax

'Declaration
Public MustOverride Sub SetValue ( _
    element As TElement, _
    newValue As TValue _
)
public abstract void SetValue(
    TElement element,
    TValue newValue
)
public:
virtual void SetValue(
    TElement element, 
    TValue newValue
) abstract
abstract SetValue : 
        element:'TElement * 
        newValue:'TValue -> unit
public abstract function SetValue(
    element : TElement, 
    newValue : TValue
)

Parameters

  • newValue
    Type: TValue

    The new value of the property.

.NET Framework Security

See Also

Reference

DomainPropertyValueHandler<TElement, TValue> Class

Microsoft.VisualStudio.Modeling Namespace