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
'Usage
Dim instance As IVsDataViewDropTargetProvider
Dim itemId As Integer
Dim returnValue As Boolean
returnValue = instance.AllowDrop(itemId)
bool AllowDrop(
int itemId
)
bool AllowDrop(
int itemId
)
function AllowDrop(
itemId : int
) : boolean
Parameters
itemId
Type: System.Int32A 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
IVsDataViewDropTargetProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace