IVsCustomClosedFileDocDataProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |