IVsUIShellOpenDocument3 Interface

Controls the state of open documents within the environment.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("E6A63A28-154C-42CB-A6E7-9252C2E6D943")]
public interface IVsUIShellOpenDocument3

The IVsUIShellOpenDocument3 type exposes the following members.

  NameDescription
Public propertyDocumentPreviewersEnumGets an interface that can be used to enumerate the available document previewers.
Public propertyFirstDefaultPreviewerReturns an interface that obtains information about the first default previewer, for example, path, arguments, and browser type.
Public propertyNewDocumentStateGets the current state of new documents.
Top

  NameDescription
Public methodGetProvisionalViewingStatusForEditorRetrieves the provisional viewing status for an editor and logical view combination.
Public methodGetProvisionalViewingStatusForFileRetrieves the provisional viewing status for the highest ranked editor associated with the file.
Public methodSetDefaultPreviewerAllows setting a previewer as default, either exclusive or in addition to the existing previewers. The previewer must be one of the available previewers.
Public methodSetNewDocumentStateDetermines whether, on subsequent documents open calls like OpenStandardEditor, the document will be opened provisionally or permanently. Allows an entity that is far removed from the IVsUIShellOpenDocument calls that opened a document to control how it is opened–provisionally or permanently.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft