共用方式為


ShapeField.CommitPendingEdit Method

Commits the pending edit.

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

Syntax

'宣告
Public Overridable Function CommitPendingEdit ( _
    parentShape As ShapeElement, _
    view As DiagramClientView _
) As Boolean
public virtual bool CommitPendingEdit(
    ShapeElement parentShape,
    DiagramClientView view
)
public:
virtual bool CommitPendingEdit(
    ShapeElement^ parentShape, 
    DiagramClientView^ view
)
abstract CommitPendingEdit : 
        parentShape:ShapeElement * 
        view:DiagramClientView -> bool 
override CommitPendingEdit : 
        parentShape:ShapeElement * 
        view:DiagramClientView -> bool 
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace