This member overrides HierarchyNode.OnBeforeDropNotify(IDataObject, UInt32, Int32%).
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overrides Function OnBeforeDropNotify ( _
o As IDataObject, _
dwEffect As UInteger, _
<OutAttribute> ByRef fCancelDrop As Integer _
) As Integer
'使用
Dim instance As ProjectNode
Dim o As IDataObject
Dim dwEffect As UInteger
Dim fCancelDrop As Integer
Dim returnValue As Integer
returnValue = instance.OnBeforeDropNotify(o, _
dwEffect, fCancelDrop)
public override int OnBeforeDropNotify(
IDataObject o,
uint dwEffect,
out int fCancelDrop
)
public:
virtual int OnBeforeDropNotify(
IDataObject^ o,
unsigned int dwEffect,
[OutAttribute] int% fCancelDrop
) override
public override function OnBeforeDropNotify(
o : IDataObject,
dwEffect : uint,
fCancelDrop : int
) : int
Parameters
- dwEffect
Type: System.UInt32
- fCancelDrop
Type: System.Int32%
Return Value
Type: System.Int32
Implements
IVsHierarchyDropDataSource2.OnBeforeDropNotify(IDataObject, UInt32, Int32%)
Permissions
- 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.