IVsHierarchyDirectionalDropDataTarget::GetSupportedAreas Method (UInt32, UInt32)

 

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)

int GetSupportedAreas(
	unsigned int itemid,
	[OutAttribute] unsigned int% pSupportedAreas
)

Parameters

itemid
Type: System::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: System::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: System::Int32

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

Return to top
Show: