IVsAsyncShellOpenDocument Interface

Definition

A service interface that provides a set of methods to asynchronously open documents.

[System.Runtime.InteropServices.Guid("6A55D18F-6DB5-4993-B503-11EB77949CAB")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsAsyncShellOpenDocument
[<System.Runtime.InteropServices.Guid("6A55D18F-6DB5-4993-B503-11EB77949CAB")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsAsyncShellOpenDocument = interface
Public Interface IVsAsyncShellOpenDocument
Attributes

Remarks

This interface must be accessed on the main thread.

Methods

GetProvisionalViewingStatusForEditorAsync(Guid, Guid)

Retrieves the provisional viewing status for an editor and logical view combination.

GetProvisionalViewingStatusForFileAsync(String, IVsHierarchy, UInt32, Guid)

Gets the provisional viewing status for a file.

OpenCopyOfStandardEditorAsync(IVsWindowFrame, Guid)

Used to implement Window.NewWindow functionality.

OpenDocumentViaProjectAsync(String, Guid, Boolean)

Finds an appropriate project to open the document.

OpenDocumentViaProjectWithSpecificAsync(String, UInt32, Guid, String, Guid)

Finds a specified project to open this document.

OpenSpecificEditorAsync(UInt32, String, Guid, String, Guid, String, IVsUIHierarchy, UInt32, Boolean, Object, IServiceProvider)

Asynchronously opens a document using the specified editor.

OpenStandardEditorAsync(UInt32, String, Guid, String, IVsUIHierarchy, UInt32, Boolean, Object, IServiceProvider)

Opens a file using the standard editor. It will first determine whether a default editor factory for the file is already configured. If a default is not already configured, then it will loop through a priority-sorted list of editor factories to find the first one that supports the document. An exception is thrown if the document cannot be opened.

Applies to