Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls the state of open documents within the environment.
public interface class IVsUIShellOpenDocument
public interface class IVsUIShellOpenDocument
__interface IVsUIShellOpenDocument
[System.Runtime.InteropServices.Guid("35299EEC-11EE-4518-9F08-401638D1D3BC")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsUIShellOpenDocument
[System.Runtime.InteropServices.Guid("35299EEC-11EE-4518-9F08-401638D1D3BC")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIShellOpenDocument
[<System.Runtime.InteropServices.Guid("35299EEC-11EE-4518-9F08-401638D1D3BC")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsUIShellOpenDocument = interface
[<System.Runtime.InteropServices.Guid("35299EEC-11EE-4518-9F08-401638D1D3BC")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUIShellOpenDocument = interface
To provisionally open a document in the Visual Studio preview tab, use methods on this interface from within a using statement in conjunction with the NewDocumentStateScope class, or use the SetNewDocumentState method.
Notes to Callers
Call to determine whether a document is open, to open a document using various editors, or to preview a document.