Share via


IVsWebBrowserUser.GetDropTarget(IDropTarget, IDropTarget) Method

Definition

Gets an alternative drop target for the specified drop target.

public:
 int GetDropTarget(Microsoft::VisualStudio::OLE::Interop::IDropTarget ^ pDropTgtIn, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IDropTarget ^ % ppDropTgtOut);
public:
 int GetDropTarget(Microsoft::VisualStudio::OLE::Interop::IDropTarget ^ pDropTgtIn, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IDropTarget ^ &  ppDropTgtOut);
int GetDropTarget(Microsoft::VisualStudio::OLE::Interop::IDropTarget const & pDropTgtIn, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IDropTarget const & & ppDropTgtOut);
public int GetDropTarget (Microsoft.VisualStudio.OLE.Interop.IDropTarget pDropTgtIn, out Microsoft.VisualStudio.OLE.Interop.IDropTarget ppDropTgtOut);
abstract member GetDropTarget : Microsoft.VisualStudio.OLE.Interop.IDropTarget * IDropTarget -> int
Public Function GetDropTarget (pDropTgtIn As IDropTarget, ByRef ppDropTgtOut As IDropTarget) As Integer

Parameters

pDropTgtIn
IDropTarget

[in] The drop target for which to get an alternative.

ppDropTgtOut
IDropTarget

[out] The alternative for the specified drop target.

Returns

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

Remarks

COM Signature

From vsbrowse.idl:

[C++]

HRESULT IVsWebBrowserUser::GetDropTarget(  
   [in] IDropTarget* pDropTgtIn,   
   [out] IDropTarget** ppDropTgtOut  
);  

Applies to