共用方式為


SimpleEditorView.IsSupported(IDataObject) Method

Definition

Determines whether the toolbox user supports the referenced data object.

public:
 virtual int IsSupported(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ data);
public:
 virtual int IsSupported(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ data);
 virtual int IsSupported(Microsoft::VisualStudio::OLE::Interop::IDataObject const & data);
public virtual int IsSupported (Microsoft.VisualStudio.OLE.Interop.IDataObject data);
abstract member IsSupported : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
override this.IsSupported : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
Public Overridable Function IsSupported (data As IDataObject) As Integer

Parameters

Returns

If the method succeeds, it returns Microsoft.VisualStudio.NativeMethods.S_OK, otherwise it returns Microsoft.VisualStudio.NativeMethods.S_FALSE.

Implements

Remarks

By default this method is not implemented and returns <xref:Microsoft.VisualStudio.NativeMethods.S_FALSE>.

Applies to