次の方法で共有


IVsHierarchyDirectionalDropDataTarget.GetSupportedAreas Method

Definition

Gets the areas supported by the target.

public:
 int GetSupportedAreas(System::UInt32 itemid, [Runtime::InteropServices::Out] System::UInt32 % pSupportedAreas);
int GetSupportedAreas(unsigned int itemid, [Runtime::InteropServices::Out] unsigned int & pSupportedAreas);
public int GetSupportedAreas (uint itemid, out uint pSupportedAreas);
abstract member GetSupportedAreas : uint32 * uint32 -> int
Public Function GetSupportedAreas (itemid As UInteger, ByRef pSupportedAreas As UInteger) As Integer

Parameters

itemid
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
UInt32

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

Returns

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

Applies to