DomainPropertyInfo.SetValue Method
Sets the property value on a given model element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
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.ModelElement
Element to set the value on.
- value
Type: System.Object
Property 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.