IVsWebPreview Interface

Enables a package to show a preview of a Web page, typically in a child window. You can get an instance of the interface from the SVsWebPreview (SID_SVsWebPreview) service.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("9EC9BA55-B328-11D2-9A98-00C04F79EFC3")> _
Public Interface IVsWebPreview
[InterfaceTypeAttribute()]
[GuidAttribute("9EC9BA55-B328-11D2-9A98-00C04F79EFC3")]
public interface IVsWebPreview
[InterfaceTypeAttribute()]
[GuidAttribute(L"9EC9BA55-B328-11D2-9A98-00C04F79EFC3")]
public interface class IVsWebPreview
[<InterfaceTypeAttribute()>]
[<GuidAttribute("9EC9BA55-B328-11D2-9A98-00C04F79EFC3")>]
type IVsWebPreview =  interface end
public interface IVsWebPreview

The IVsWebPreview type exposes the following members.

Methods

  Name Description
Public method ActivatePreview Activates the preview set by PreviewURL or PreviewURLEx.
Public method PreviewURL Provides the information for the preview. Use ActivatePreview to display the preview.
Public method PreviewURLEx Provides the information for the preview. Extension of PreviewURL. Use ActivatePreview to display the preview.
Public method Resize Resize the preview window.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace