Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Verifies whether the document window supports an item in the Toolbox.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Function IsSupported ( _
data As IDataObject _
) As Integer
public int IsSupported(
IDataObject data
)
public:
virtual int IsSupported(
IDataObject^ data
) sealed
abstract IsSupported :
data:IDataObject -> int
override IsSupported :
data:IDataObject -> int
public final function IsSupported(
data : IDataObject
) : int
Parameters
- data
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
The item in the Toolbox.
Return Value
Type: System.Int32
S_OK if the item is supported in the document window; otherwise, E_FAIL.
Implements
IVsToolboxUser.IsSupported(IDataObject)
Remarks
Toolbox items include shapes and connectors.
This method is an implementation of the IsSupported interface.
.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.