MouseAction.CanComplete Method
Gets the mouse action and verifies whether it can be completed.
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 Function CanComplete ( _
diagramClientView As DiagramClientView _
) As Boolean
public bool CanComplete(
DiagramClientView diagramClientView
)
public:
bool CanComplete(
DiagramClientView^ diagramClientView
)
member CanComplete :
diagramClientView:DiagramClientView -> bool
public function CanComplete(
diagramClientView : DiagramClientView
) : boolean
Parameters
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe client view for the diagram.
Return Value
Type: Boolean
true if the mouse action can be completed; otherwise, 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.