IVsDataViewDocumentProvider.IsSupported 方法

当实现由选件类,指示文档是否为数据视图的指定节点支持。

命名空间:  Microsoft.VisualStudio.Data.Services.SupportEntities
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Function IsSupported ( _
    itemId As Integer _
) As Boolean
bool IsSupported(
    int itemId
)
bool IsSupported(
    int itemId
)
abstract IsSupported : 
        itemId:int -> bool 
function IsSupported(
    itemId : int
) : boolean

参数

  • itemId
    类型:System.Int32
    节点的一个数字标识符在数据视图。

返回值

类型:System.Boolean
true ,如果文档支持;否则,false。

.NET Framework 安全性

请参见

参考

IVsDataViewDocumentProvider 接口

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空间