DomainPropertyInfo.SetValue Method
Sets the property value on a given model element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub SetValue ( _
element As ModelElement, _
value As Object _
)
public void SetValue(
ModelElement element,
Object value
)
public:
void SetValue(
ModelElement^ element,
Object^ value
)
member SetValue :
element:ModelElement *
value:Object -> unit
public function SetValue(
element : ModelElement,
value : Object
)
Parameters
element
Type: Microsoft.VisualStudio.Modeling.ModelElementElement to set the value on.
value
Type: System.ObjectProperty value to set.
.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.