Determines whether the Toolbox user supports the referenced data object.
Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
声明
Private Function IsSupported ( _
    dataObject As IDataObject _
) As Integer Implements IVsToolboxUser.IsSupported
用法
Dim instance As DesignerWindowPane
Dim dataObject As IDataObject
Dim returnValue As Integer
returnValue = CType(instance, IVsToolboxUser).IsSupported(dataObject)
int IVsToolboxUser.IsSupported(
    IDataObject dataObject
)
private:
virtual int IsSupported(
    IDataObject^ dataObject
) sealed = IVsToolboxUser::IsSupported
private abstract IsSupported : 
        dataObject:IDataObject -> int 
private override IsSupported : 
        dataObject:IDataObject -> int 
JScript does not support explicit interface implementations.
Parameters
- dataObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
IDataObject. 
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsToolboxUser.IsSupported(IDataObject)
Remarks
The environment calls this method to determine if the Toolbox user supports the referenced data object.
.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.