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, _
    parentField As ShapeField, _
    view As DiagramClientView _
) As Boolean
public virtual bool CommitPendingEdit(
    ShapeElement parentShape,
    ShapeField parentField,
    DiagramClientView view
)
public:
virtual bool CommitPendingEdit(
    ShapeElement^ parentShape, 
    ShapeField^ parentField, 
    DiagramClientView^ view
)
abstract CommitPendingEdit : 
        parentShape:ShapeElement * 
        parentField:ShapeField * 
        view:DiagramClientView -> bool 
override CommitPendingEdit : 
        parentShape:ShapeElement * 
        parentField:ShapeField * 
        view:DiagramClientView -> bool 
public function CommitPendingEdit(
    parentShape : ShapeElement, 
    parentField : ShapeField, 
    view : DiagramClientView
) : boolean
Parameters
- parentShape
 Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
 The ShapeElement that contains this subfield.
- parentField
 Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
 The ShapeField that contains this subfield.
- view
 Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
 The view hosting the in-place editor.
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.