Share via


IVsCustomClosedFileDocDataProvider Interface

Definition

MEF Export to allow extensions to provide a custom IVsPersistDocData for files instead of using the default for Find scenarios

public interface IVsCustomClosedFileDocDataProvider
type IVsCustomClosedFileDocDataProvider = interface
Public Interface IVsCustomClosedFileDocDataProvider

Methods

GetCustomDocDataForFilePathAsync(String, CancellationToken)

Called in Find scenarios to allow custom editors supply an IVsPersistDocData implementation for closed files. The IVsPersistDocData supplied by the custom editors should be the same one they supply to running document table when a file is opened in Visual Studio. The IVsPersistDocData implementation of the custom editor must also implement IVsTextLines and IVsUserData and expose the current ITextSnapshot

Applies to