ShapeField.CanEditValue Method
Gets the shape field and verifies whether it 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
‘선언
Public Overridable Function CanEditValue ( _
parentShape As ShapeElement, _
view As DiagramClientView _
) As Boolean
public virtual bool CanEditValue(
ShapeElement parentShape,
DiagramClientView view
)
public:
virtual bool CanEditValue(
ShapeElement^ parentShape,
DiagramClientView^ view
)
abstract CanEditValue :
parentShape:ShapeElement *
view:DiagramClientView -> bool
override CanEditValue :
parentShape:ShapeElement *
view:DiagramClientView -> bool
public function CanEditValue(
parentShape : ShapeElement,
view : DiagramClientView
) : boolean
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape element instance that contains the shape field.
- view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The client view for the diagram.
Return Value
Type: System.Boolean
true if the shape field can be edited; otherwise, false.
Remarks
By default, the return value is false.
.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.