IVsDataViewDropTargetProvider.AllowDrop Method
When implemented by a class, indicates whether the drop operation is allowed on the specified node.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function AllowDrop ( _
itemId As Integer _
) As Boolean
bool AllowDrop(
int itemId
)
bool AllowDrop(
int itemId
)
abstract AllowDrop :
itemId:int -> bool
function AllowDrop(
itemId : int
) : boolean
Parameters
- itemId
Type: System.Int32
A numerical identifier for the node in the data view hierarchy.
Return Value
Type: System.Boolean
true if the drop operation is allowed; 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.
See Also
Reference
IVsDataViewDropTargetProvider Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace