共用方式為


ListItemSubField.HasPendingEdit Method

Definition

Returns a value indicating whether in-place editing is active, with a commit pending.

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

Parameters

parentShape
ShapeElement

The ShapeElement that contains this subfield.

parentField
ShapeField

The ShapeField that contains this subfield.

view
DiagramClientView

The view hosting the in-place editor.

Returns

true if in-place editing is active, with a commit pending.

Applies to