Partager via


DataViewDocumentProvider.IsSupported Method

Indicates whether a document is supported for the specified node in the data view.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overridable Function IsSupported ( _
    itemId As Integer _
) As Boolean
public virtual bool IsSupported(
    int itemId
)
public:
virtual bool IsSupported(
    int itemId
)
abstract IsSupported : 
        itemId:int -> bool  
override IsSupported : 
        itemId:int -> bool
public function IsSupported(
    itemId : int
) : boolean

Parameters

  • itemId
    Type: System.Int32

    A numerical identifier for the node in the data view.

Return Value

Type: System.Boolean
true if the document is supported; otherwise, false.

Implements

IVsDataViewDocumentProvider.IsSupported(Int32)

Remarks

Notes to Inheritors

The derived class should override this method.

.NET Framework Security

See Also

Reference

DataViewDocumentProvider Class

Microsoft.VisualStudio.Data.Framework Namespace