다음을 통해 공유


IVsToolboxUser.IsSupported Method

Determines whether the Toolbox user supports the referenced data object.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

‘선언
Function IsSupported ( _
    pDO As IDataObject _
) As Integer
‘사용 방법
Dim instance As IVsToolboxUser
Dim pDO As IDataObject
Dim returnValue As Integer

returnValue = instance.IsSupported(pDO)
int IsSupported(
    IDataObject pDO
)
int IsSupported(
    [InAttribute] IDataObject^ pDO
)
abstract IsSupported : 
        pDO:IDataObject -> int 
function IsSupported(
    pDO : IDataObject
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolboxUser::IsSupported(
   [in]IDataObject* pDO
);

The environment calls this method to determine if the Toolbox user supports the referenced data object.

.NET Framework Security

See Also

Reference

IVsToolboxUser Interface

IVsToolboxUser Members

Microsoft.VisualStudio.Shell.Interop Namespace