ShapeField::CommitPendingEdit Method (ShapeElement^, DiagramClientView^)

 

Commits the pending edit.

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

public:
virtual bool CommitPendingEdit(
	ShapeElement^ parentShape,
	DiagramClientView^ view
)

Parameters

parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The shape element that contains the shape field.

view
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^

The diagram client view.

Return Value

Type: System::Boolean

true if the pending edit was committed; otherwise, false.

Return to top
Show: