IVsUIShellOpenDocument3 Interface

 

Controls the state of open documents within the environment.

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

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

NameDescription
System_CAPS_pubpropertyDocumentPreviewersEnum

Gets an interface that can be used to enumerate the available document previewers.

System_CAPS_pubpropertyFirstDefaultPreviewer

Returns an interface that obtains information about the first default previewer, for example, path, arguments, and browser type.

System_CAPS_pubpropertyNewDocumentState

Gets the current state of new documents.

NameDescription
System_CAPS_pubmethodGetProvisionalViewingStatusForEditor(Guid, Guid)

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

System_CAPS_pubmethodGetProvisionalViewingStatusForFile(String, IVsHierarchy, UInt32, Guid)

Retrieves the provisional viewing status for the highest ranked editor associated with the file.

System_CAPS_pubmethodSetDefaultPreviewer(IVsDocumentPreviewer, UInt32, Boolean)

Allows setting a previewer as default, either exclusive or in addition to the existing previewers. The previewer must be one of the available previewers.

System_CAPS_pubmethodSetNewDocumentState(UInt32, Guid)

Determines 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.

Return to top
Show: