Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
This method returns the single resultant drop effect given the possible effects that the drag/drop target can support. The drag source's allowed effects combined with the key states will be used to determine the resultant effect.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Function ComputeEffect ( _
possibleTargetEffects As DragDropEffects _
) As DragDropEffects
public DragDropEffects ComputeEffect(
DragDropEffects possibleTargetEffects
)
public:
DragDropEffects ComputeEffect(
DragDropEffects possibleTargetEffects
)
member ComputeEffect :
possibleTargetEffects:DragDropEffects -> DragDropEffects
public function ComputeEffect(
possibleTargetEffects : DragDropEffects
) : DragDropEffects
Parameters
- possibleTargetEffects
Type: System.Windows.Forms.DragDropEffects
All possible effects that the drag/drop target can support.
Return Value
Type: System.Windows.Forms.DragDropEffects
.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.