Compartilhar via


ShapeField.GetValue(ShapeElement) Method

Definition

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

public:
 virtual System::Object ^ GetValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public virtual object GetValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
abstract member GetValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> obj
override this.GetValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> obj
Public Overridable Function GetValue (parentShape As ShapeElement) As Object

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