共用方式為


Decorator.SetValue(ShapeElement, Object) Method

Definition

Sets the value associated with this decorator and the given parent shape.

public:
 void SetValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, System::Object ^ value);
public void SetValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, object value);
member this.SetValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * obj -> unit
Public Sub SetValue (parentShape As ShapeElement, value As Object)

Parameters

parentShape
ShapeElement
value
Object

Applies to