共用方式為


ModelingDocView.IsDataObjectSupported 方法

請確認是否可以使用 [工具箱] 中的項目與文件視窗。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Public Overridable Function IsDataObjectSupported ( _
    data As IDataObject _
) As Boolean
public virtual bool IsDataObjectSupported(
    IDataObject data
)

參數

傳回值

型別:System.Boolean
項目和其屬性。

備註

工具箱項目包括圖形和連接器。

這個方法會覆寫方法IsSupported

.NET Framework 安全性

請參閱

參考

ModelingDocView 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間