当输入数据对象将要进入拖放操作时,由工具箱调用。 方法允许输出数据对象替换输入数据对象,而这会进入拖放操作。
命名空间: Microsoft.VisualStudio.Modeling.Shell
程序集: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)
语法
声明
Private Function InterceptDataObject ( _
input As IDataObject, _
<OutAttribute> ByRef output As IDataObject _
) As Integer Implements IVsToolboxActiveUserHook.InterceptDataObject
int IVsToolboxActiveUserHook.InterceptDataObject(
IDataObject input,
out IDataObject output
)
参数
返回值
类型:System.Int32
实现
IVsToolboxActiveUserHook.InterceptDataObject(IDataObject, IDataObject%)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。