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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
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.DiagramClientView
The client view for the diagram.
Return Value
Type: System.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.