Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("E6A63A28-154C-42CB-A6E7-9252C2E6D943")> _
Public Interface IVsUIShellOpenDocument3
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("E6A63A28-154C-42CB-A6E7-9252C2E6D943")]
public interface IVsUIShellOpenDocument3
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"E6A63A28-154C-42CB-A6E7-9252C2E6D943")]
public interface class IVsUIShellOpenDocument3
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("E6A63A28-154C-42CB-A6E7-9252C2E6D943")>]
type IVsUIShellOpenDocument3 = interface end
public interface IVsUIShellOpenDocument3
The IVsUIShellOpenDocument3 type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
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. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
GetProvisionalViewingStatusForEditor | Retrieves the provisional viewing status for an editor and logical view combination. |
![]() |
GetProvisionalViewingStatusForFile | Retrieves the provisional viewing status for the highest ranked editor associated with the file. |
![]() |
SetDefaultPreviewer | 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 | 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. |
Top