Decorator.SetValue Method

Sets the association with the decoration and a shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Sub SetValue ( _
    parentShape As ShapeElement, _
    value As Object _
)
public void SetValue(
    ShapeElement parentShape,
    Object value
)
public:
void SetValue(
    ShapeElement^ parentShape, 
    Object^ value
)
member SetValue : 
        parentShape:ShapeElement * 
        value:Object -> unit
public function SetValue(
    parentShape : ShapeElement, 
    value : Object
)

Parameters

  • value
    Type: Object

    The association.

.NET Framework Security

See Also

Reference

Decorator Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace