ShapeField.GetValue(ShapeElement) Method

Definition

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

C++
public:
 virtual System::Object ^ GetValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);

Parameters

parentShape
ShapeElement

The ShapeElement instance from which to retrieve the value

Returns

The value of this ShapeField for the specified ShapeElement instance.

Remarks

This method can return null.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022