Partager via


IVsHierarchyDirectionalDropDataTarget.GetSupportedAreas Method

Gets the areas supported by the target.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function GetSupportedAreas ( _
    itemid As UInteger, _
    <OutAttribute> ByRef pSupportedAreas As UInteger _
) As Integer
int GetSupportedAreas(
    uint itemid,
    out uint pSupportedAreas
)
int GetSupportedAreas(
    [InAttribute] unsigned int itemid, 
    [OutAttribute] unsigned int% pSupportedAreas
)
abstract GetSupportedAreas : 
        itemid:uint32 * 
        pSupportedAreas:uint32 byref -> int
function GetSupportedAreas(
    itemid : uint, 
    pSupportedAreas : uint
) : int

Parameters

  • itemid
    Type: UInt32

    [in] [in] Item identifier of the drop data target over which the item is being dragged. For a list of itemid values, see VSConstants.VSITEMID.

  • pSupportedAreas
    Type: UInt32%

    [out] The areas supported by the target. The value of this parameter can be any combination of Above, Below, and On masked together.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsHierarchyDirectionalDropDataTarget Interface

Microsoft.VisualStudio.Shell.Interop Namespace