共用方式為


DesignerWindowPane.IVsToolboxUser.IsSupported(IDataObject) 方法

定義

判斷使用者是否 Toolbox 支援參考的資料物件。

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsToolboxUser.IsSupported(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ dataObject) = Microsoft::VisualStudio::Shell::Interop::IVsToolboxUser::IsSupported;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsToolboxUser.IsSupported(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ dataObject) = Microsoft::VisualStudio::Shell::Interop::IVsToolboxUser::IsSupported;
int Microsoft.VisualStudio.Shell.Interop.IVsToolboxUser.IsSupported(Microsoft::VisualStudio::OLE::Interop::IDataObject const & dataObject);
int IVsToolboxUser.IsSupported (Microsoft.VisualStudio.OLE.Interop.IDataObject dataObject);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsToolboxUser.IsSupported : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsToolboxUser.IsSupported : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
Function IsSupported (dataObject As IDataObject) As Integer Implements IVsToolboxUser.IsSupported

參數

dataObject
IDataObject

IDataObject.

傳回

如果方法成功,它會傳回 S_OK。 如果方法失敗,則會傳回錯誤碼。

實作

適用於