ShapeSubField.CanEditValue Method
Returns a value indicating whether the value of this subfield can be edited.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overridable Function CanEditValue ( _
parentShape As ShapeElement, _
parentField As ShapeField, _
view As DiagramClientView _
) As Boolean
public virtual bool CanEditValue(
ShapeElement parentShape,
ShapeField parentField,
DiagramClientView view
)
public:
virtual bool CanEditValue(
ShapeElement^ parentShape,
ShapeField^ parentField,
DiagramClientView^ view
)
abstract CanEditValue :
parentShape:ShapeElement *
parentField:ShapeField *
view:DiagramClientView -> bool
override CanEditValue :
parentShape:ShapeElement *
parentField:ShapeField *
view:DiagramClientView -> bool
public function CanEditValue(
parentShape : ShapeElement,
parentField : ShapeField,
view : DiagramClientView
) : boolean
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe ShapeElement instance that contains this subfield.
parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldThe parent ShapeField of this ShapeSubField.
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe view that will become the parent of the editor.
Return Value
Type: 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.