Partager via


IVsUIShellOpenDocument3 Interface

Definition

Controls the state of open documents within the environment.

public interface class IVsUIShellOpenDocument3
public interface class IVsUIShellOpenDocument3
__interface IVsUIShellOpenDocument3
public interface IVsUIShellOpenDocument3
[System.Runtime.InteropServices.Guid("E6A63A28-154C-42CB-A6E7-9252C2E6D943")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIShellOpenDocument3
type IVsUIShellOpenDocument3 = interface
[<System.Runtime.InteropServices.Guid("E6A63A28-154C-42CB-A6E7-9252C2E6D943")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUIShellOpenDocument3 = interface
Public Interface IVsUIShellOpenDocument3
Attributes

Properties

DocumentPreviewersEnum

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

FirstDefaultPreviewer

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

NewDocumentState

Gets the current state of new documents.

Methods

GetProvisionalViewingStatusForEditor(Guid, Guid)

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

GetProvisionalViewingStatusForFile(String, IVsHierarchy, UInt32, Guid)

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

SetDefaultPreviewer(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.

SetNewDocumentState(UInt32, Guid)

Determines whether, on subsequent documents open calls like OpenStandardEditor(UInt32, String, Guid, String, IVsUIHierarchy, UInt32, IntPtr, IServiceProvider, IVsWindowFrame), 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.

Applies to