ShapeField.CommitPendingEdit Method

Commits the pending edit.

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

Syntax

'Declaration
Public Overridable Function CommitPendingEdit ( _
    parentShape As ShapeElement, _
    view As DiagramClientView _
) As Boolean
'Usage
Dim instance As ShapeField 
Dim parentShape As ShapeElement 
Dim view As DiagramClientView 
Dim returnValue As Boolean 

returnValue = instance.CommitPendingEdit(parentShape, _
    view)
public virtual bool CommitPendingEdit(
    ShapeElement parentShape,
    DiagramClientView view
)
public:
virtual bool CommitPendingEdit(
    ShapeElement^ parentShape, 
    DiagramClientView^ view
)
public function CommitPendingEdit(
    parentShape : ShapeElement, 
    view : DiagramClientView
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the pending edit was committed; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace