共用方式為


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

.NET Framework Security

See Also

Reference

DomainPropertyInfo Class

Microsoft.VisualStudio.Modeling Namespace