Controls the state of open documents within the environment.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
<GuidAttribute("35299EEC-11EE-4518-9F08-401638D1D3BC")> _
<InterfaceTypeAttribute()> _
Public Interface IVsUIShellOpenDocument
[GuidAttribute("35299EEC-11EE-4518-9F08-401638D1D3BC")]
[InterfaceTypeAttribute()]
public interface IVsUIShellOpenDocument
[GuidAttribute(L"35299EEC-11EE-4518-9F08-401638D1D3BC")]
[InterfaceTypeAttribute()]
public interface class IVsUIShellOpenDocument
[<GuidAttribute("35299EEC-11EE-4518-9F08-401638D1D3BC")>]
[<InterfaceTypeAttribute()>]
type IVsUIShellOpenDocument =  interface end
public interface IVsUIShellOpenDocument
The IVsUIShellOpenDocument type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddStandardPreviewer | Adds a Web browser to the list of available previewers. | 
| .gif) | GetFirstDefaultPreviewer | Returns the .exe file path of the first default web browser. | 
| .gif) | GetStandardEditorFactory | Returns the editor factory associated with a specific document (for example, a file type). | 
| .gif) | InitializeEditorInstance | Initializes an instance of the document editor. | 
| .gif) | IsDocumentInAProject | Determines whether a document is part of the project. | 
| .gif) | IsDocumentOpen | Determines whether a document is currently open. | 
| .gif) | IsSpecificDocumentViewOpen | Determines whether a specified document view is open. | 
| .gif) | MapLogicalView | Maps a physical view to a logical view. | 
| .gif) | OpenCopyOfStandardEditor | Used to implement Window.NewWindow functionality. | 
| .gif) | OpenDocumentViaProject | Finds an appropriate project to open the document. | 
| .gif) | OpenDocumentViaProjectWithSpecific | Finds a specified project to open this document. | 
| .gif) | OpenSpecificEditor | Opens a specified editor. | 
| .gif) | OpenStandardEditor | Opens the standard editor. | 
| .gif) | OpenStandardPreviewer | Opens a standard web browser for the specified document. | 
| .gif) | SearchProjectsForRelativePath | Converts a relative path for a document to an absolute path that can be passed to OpenDocumentViaProject. | 
Top
Remarks
See also SVsUIShellOpenDocument service.
To provisionally open a document in the Visual Studio preview tab, use methods on this interface from within a using statement in conjunction with the NewDocumentStateScope class, or use the SetNewDocumentState method.
Notes to Callers
Call to determine whether a document is open, to open a document using various editors, or to preview a document.