Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
pDropTgtIn
Type: Microsoft.VisualStudio.OLE.Interop.IDropTarget[in] The drop target for which to get an alternative.
ppDropTgtOut
Type: Microsoft.VisualStudio.OLE.Interop.IDropTarget%[out] The alternative for the specified drop target.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.