ShapeSubField.HasPendingEdit Method
Returns a value indicating whether in-place editing is active, with a commit pending.
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 Overridable Function HasPendingEdit ( _
parentShape As ShapeElement, _
parentField As ShapeField, _
view As DiagramClientView _
) As Boolean
public virtual bool HasPendingEdit(
ShapeElement parentShape,
ShapeField parentField,
DiagramClientView view
)
public:
virtual bool HasPendingEdit(
ShapeElement^ parentShape,
ShapeField^ parentField,
DiagramClientView^ view
)
abstract HasPendingEdit :
parentShape:ShapeElement *
parentField:ShapeField *
view:DiagramClientView -> bool
override HasPendingEdit :
parentShape:ShapeElement *
parentField:ShapeField *
view:DiagramClientView -> bool
public function HasPendingEdit(
parentShape : ShapeElement,
parentField : ShapeField,
view : DiagramClientView
) : boolean
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe ShapeElement that contains this subfield.
parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldThe ShapeField that contains this subfield.
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.