共用方式為


IVsWebPreviewAction Interface

Definition

Defines methods to be called in response to Web preview events. Implement the interface and use it with the Web preview methods PreviewURL(IVsWebPreviewAction, String) and PreviewURLEx(IVsWebPreviewAction, String, UInt32, Int32, Int32) of the IVsWebPreview interface.

public interface class IVsWebPreviewAction
public interface class IVsWebPreviewAction
__interface IVsWebPreviewAction
[System.Runtime.InteropServices.Guid("9EC9BA56-B328-11D2-9A98-00C04F79EFC3")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsWebPreviewAction
[System.Runtime.InteropServices.Guid("9EC9BA56-B328-11D2-9A98-00C04F79EFC3")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsWebPreviewAction
[<System.Runtime.InteropServices.Guid("9EC9BA56-B328-11D2-9A98-00C04F79EFC3")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsWebPreviewAction = interface
[<System.Runtime.InteropServices.Guid("9EC9BA56-B328-11D2-9A98-00C04F79EFC3")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsWebPreviewAction = interface
Public Interface IVsWebPreviewAction
Attributes

Methods

OnPreviewClose()

Method called when the preview window closes.

OnPreviewLoaded(Object)

Method called when the preview window has loaded its document.

OnPreviewLoadStart()

Method called when the preview window starts loading its document.

Applies to