共用方式為


MouseAction.CanCancel Method

Gets the mouse action and verifies whether it can be canceled.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Function CanCancel ( _
    diagramClientView As DiagramClientView _
) As Boolean
public bool CanCancel(
    DiagramClientView diagramClientView
)
public:
bool CanCancel(
    DiagramClientView^ diagramClientView
)
member CanCancel : 
        diagramClientView:DiagramClientView -> bool 
public function CanCancel(
    diagramClientView : DiagramClientView
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the mouse action can be canceled; otherwise, false.

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace