Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

IVsUIShellOpenDocument Members

Controls the state of open documents within the environment.

The following tables list the members exposed by the IVsUIShellOpenDocument type.

  Name Description
Public method AddStandardPreviewer Adds a Web browser to the list of available previewers.  
Public method GetFirstDefaultPreviewer Returns the .exe file path of the first default web browser.  
Public method GetStandardEditorFactory Returns the editor factory associated with a specific document (for example, a file type).  
Public method InitializeEditorInstance Initializes an instance of the document editor.  
Public method IsDocumentInAProject Determines whether a document is part of the project.  
Public method IsDocumentOpen Determines whether a document is currently open.  
Public method IsSpecificDocumentViewOpen Determines whether a specified document view is open.  
Public method MapLogicalView Maps a physical view to a logical view.  
Public method OpenCopyOfStandardEditor Used to implement Window.NewWindow functionality.  
Public method OpenDocumentViaProject Finds an appropriate project to open the document.  
Public method OpenDocumentViaProjectWithSpecific Finds a specified project to open this document.  
Public method OpenSpecificEditor Opens a specified editor.  
Public method OpenStandardEditor Opens the standard editor.  
Public method OpenStandardPreviewer Opens a standard web browser for the specified document.  
Public method SearchProjectsForRelativePath Converts a relative path for a document to an absolute path that can be passed to OpenDocumentViaProject.  

Community Additions

© 2015 Microsoft