Partager via


IVsWebBrowserUser.GetDropTarget Method

Gets an alternative drop target for the specified drop target.

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

Syntax

'Declaration
Function GetDropTarget ( _
    pDropTgtIn As IDropTarget, _
    <OutAttribute> ByRef ppDropTgtOut As IDropTarget _
) As Integer
int GetDropTarget(
    IDropTarget pDropTgtIn,
    out IDropTarget ppDropTgtOut
)
int GetDropTarget(
    [InAttribute] IDropTarget^ pDropTgtIn, 
    [OutAttribute] IDropTarget^% ppDropTgtOut
)
abstract GetDropTarget : 
        pDropTgtIn:IDropTarget * 
        ppDropTgtOut:IDropTarget byref -> int
function GetDropTarget(
    pDropTgtIn : IDropTarget, 
    ppDropTgtOut : IDropTarget
) : int

Parameters

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsWebBrowserUser Interface

Microsoft.VisualStudio.Shell.Interop Namespace