InPlaceTextEditor.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
'Declaração
Public Function CanEditValue ( _
parentShape As ShapeElement, _
field As ShapeField, _
subfield As ShapeSubField, _
view As DiagramClientView _
) As Boolean
public bool CanEditValue(
ShapeElement parentShape,
ShapeField field,
ShapeSubField subfield,
DiagramClientView view
)
public:
bool CanEditValue(
ShapeElement^ parentShape,
ShapeField^ field,
ShapeSubField^ subfield,
DiagramClientView^ view
)
member CanEditValue :
parentShape:ShapeElement *
field:ShapeField *
subfield:ShapeSubField *
view:DiagramClientView -> bool
public function CanEditValue(
parentShape : ShapeElement,
field : ShapeField,
subfield : ShapeSubField,
view : DiagramClientView
) : boolean
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement instance that contains this field.
- subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
- 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.