TextField.CanEditValue Method
Returns a value indicating whether the value of this field can be edited.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Public Overrides Function CanEditValue ( _
parentShape As ShapeElement, _
view As DiagramClientView _
) As Boolean
public override bool CanEditValue(
ShapeElement parentShape,
DiagramClientView view
)
public:
virtual bool CanEditValue(
ShapeElement^ parentShape,
DiagramClientView^ view
) override
abstract CanEditValue :
parentShape:ShapeElement *
view:DiagramClientView -> bool
override CanEditValue :
parentShape:ShapeElement *
view:DiagramClientView -> bool
public override function CanEditValue(
parentShape : ShapeElement,
view : DiagramClientView
) : boolean
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement instance that contains this field.
- view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The view that will become the parent of the 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.