GestureExtension<T>.IGestureExtension.CanDragDrop Method
Namespace: Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Private Function CanDragDrop ( _
targetMergeElement As ShapeElement, _
diagramDragEventArgs As DiagramDragEventArgs _
) As Boolean Implements IGestureExtension.CanDragDrop
bool IGestureExtension.CanDragDrop(
ShapeElement targetMergeElement,
DiagramDragEventArgs diagramDragEventArgs
)
private:
virtual bool CanDragDrop(
ShapeElement^ targetMergeElement,
DiagramDragEventArgs^ diagramDragEventArgs
) sealed = IGestureExtension::CanDragDrop
private abstract CanDragDrop :
targetMergeElement:ShapeElement *
diagramDragEventArgs:DiagramDragEventArgs -> bool
private override CanDragDrop :
targetMergeElement:ShapeElement *
diagramDragEventArgs:DiagramDragEventArgs -> bool
JScript does not support explicit interface implementations.
Parameters
- targetMergeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- diagramDragEventArgs
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs
Return Value
Type: System.Boolean
Implements
IGestureExtension.CanDragDrop(ShapeElement, DiagramDragEventArgs)
.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.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace