DataViewDocumentProvider Class

Definition

Important

This API is not CLS-compliant.

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.

public ref class DataViewDocumentProvider : Microsoft::VisualStudio::Data::Framework::DataSiteableObject<Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataViewHierarchy ^>, Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataViewDocumentProvider
[System.CLSCompliant(false)]
public class DataViewDocumentProvider : Microsoft.VisualStudio.Data.Framework.DataSiteableObject<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy>, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewDocumentProvider
public class DataViewDocumentProvider : Microsoft.VisualStudio.Data.Framework.DataSiteableObject<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy>, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewDocumentProvider
[<System.CLSCompliant(false)>]
type DataViewDocumentProvider = class
    inherit DataSiteableObject<IVsDataViewHierarchy>
    interface IVsDataViewDocumentProvider
type DataViewDocumentProvider = class
    inherit DataSiteableObject<IVsDataViewHierarchy>
    interface IVsDataViewDocumentProvider
Public Class DataViewDocumentProvider
Inherits DataSiteableObject(Of IVsDataViewHierarchy)
Implements IVsDataViewDocumentProvider
Inheritance
DataViewDocumentProvider
Attributes
Implements

Constructors

DataViewDocumentProvider()

Initializes a new instance of the DataViewDocumentProvider class.

Properties

Site

Gets or sets the object site.

(Inherited from DataSiteableObject<T>)

Methods

CanOpen(Int32, Guid)

Indicates whether a document can be opened for the specified node in the data view and for the given logical view.

FindNode(String, Boolean)

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.

GetContext(Int32)

Retrieves the service provider representing the context of the current document in the data view.

GetMoniker(Int32)

Retrieves the document moniker for the specified node in the data view.

GetPriority(Int32)

Gets the priority level of the specified document within the data view hierarchy.

GetSaveName(Int32)

Gets the name of the specified document for use when saving the document.

IsSupported(Int32)

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

OnSiteChanged(EventArgs)

Raises the SiteChanged event.

(Inherited from DataSiteableObject<T>)
Open(Int32, Guid, Object, Boolean)

Opens the specified document in the given logical view. The document may be populated with existing data and may be hidden.

ShowMoniker(Int32)

Indicates whether the document moniker is to be displayed on the specified document.

Events

SiteChanged

Occurs when the Site property is changed.

(Inherited from DataSiteableObject<T>)

Applies to