DomainPropertyValueHandler<TElement, TValue>.SetValue Method
Sets a domain property value for a specified element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
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: TElement
The element.
- newValue
Type: TValue
The 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.