共用方式為


DesignerWindowPane.IVsToolboxUser.IsSupported Method

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
int IVsToolboxUser.IsSupported(
    IDataObject dataObject
)

Parameters

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

See Also

Reference

DesignerWindowPane Class

Microsoft.VisualStudio.Shell.Design Namespace

Toolbox