DomainPropertyValueHandler<TElement, TValue>.SetValue Method
Sets a domain property value for a specified element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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
element
Type: TElementThe element.
newValue
Type: TValueThe new value of the property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.