共用方式為


TextField.CommitPendingEdit(ShapeElement, DiagramClientView) Method

Definition

Commits the pending edit.

public:
 override bool CommitPendingEdit(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public override bool CommitPendingEdit (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
override this.CommitPendingEdit : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
Public Overrides Function CommitPendingEdit (parentShape As ShapeElement, view As DiagramClientView) As Boolean

Parameters

parentShape
ShapeElement

The ShapeElement that contains this field.

view
DiagramClientView

The view hosting the in-place editor.

Returns

Applies to