TextField.CommitPendingEdit Method
Commits the pending edit.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overrides Function CommitPendingEdit ( _
parentShape As ShapeElement, _
view As DiagramClientView _
) As Boolean
public override bool CommitPendingEdit(
ShapeElement parentShape,
DiagramClientView view
)
public:
virtual bool CommitPendingEdit(
ShapeElement^ parentShape,
DiagramClientView^ view
) override
abstract CommitPendingEdit :
parentShape:ShapeElement *
view:DiagramClientView -> bool
override CommitPendingEdit :
parentShape:ShapeElement *
view:DiagramClientView -> bool
public override function CommitPendingEdit(
parentShape : ShapeElement,
view : DiagramClientView
) : boolean
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe ShapeElement that contains this field.
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe 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.