다음을 통해 공유


ShapeField.SetValue(ShapeElement, Object) Method

Definition

Sets the value of this ShapeField for the specified ShapeElement instance.

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

Parameters

parentShape
ShapeElement

The ShapeElement instance from which to retrieve the value

value
Object

The new value.

Applies to