Partager via


IVsDataViewDocumentProvider Interface

Provides the ability to open a document, get a document moniker, and perform other actions pertaining to a document in the Visual Studio Sever Explorer.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Interface IVsDataViewDocumentProvider
[CLSCompliantAttribute(false)]
public interface IVsDataViewDocumentProvider
[CLSCompliantAttribute(false)]
public interface class IVsDataViewDocumentProvider
[<CLSCompliantAttribute(false)>]
type IVsDataViewDocumentProvider =  interface end
public interface IVsDataViewDocumentProvider

The IVsDataViewDocumentProvider type exposes the following members.

Methods

  Name Description
Public method CanOpen When implemented by a class, indicates whether a document can be opened for the specified node in the data view and for the given logical view.
Public method FindNode When implemented by a class, searches for a node in the data view that corresponds to the specified document moniker. Optionally, searches child nodes that have not been expanded yet.
Public method GetContext When implemented by a class, retrieves the service provider representing the context of the current document in the data view.
Public method GetMoniker When implemented by a class, retrieves the document moniker for the specified node in the data view.
Public method GetPriority When implemented by a class, gets the priority level of the specified document within the data view hierarchy.
Public method GetSaveName When implemented by a class, gets the name of the specified document for use when saving a new document.
Public method IsSupported When implemented by a class, indicates whether a document is supported for the specified node in the data view.
Public method Open When implemented by a class, opens the specified document in the given logical view. The document may be populated with existing data and may be hidden.
Public method ShowMoniker When implemented by a class, indicates whether the document moniker is to be displayed on the specified document.

Top

Remarks

This interface has a base implementation in the DDEX Framework.

See Also

Reference

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace