ShapeField.SetValue Method

Assigns the specified value to a shape field.

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 Overridable Sub SetValue ( _
    parentShape As ShapeElement, _
    value As Object _
)
public virtual void SetValue(
    ShapeElement parentShape,
    Object value
)
public:
virtual void SetValue(
    ShapeElement^ parentShape, 
    Object^ value
)
abstract SetValue : 
        parentShape:ShapeElement * 
        value:Object -> unit  
override SetValue : 
        parentShape:ShapeElement * 
        value:Object -> unit
public function SetValue(
    parentShape : ShapeElement, 
    value : Object
)

Parameters

  • value
    Type: Object

    The value.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace