共用方式為


IVsUIHierWinClipboardHelperEvents Interface

Definition

Provides clipboard notifications to the source hierarchy in a cut or copy operation.

public interface class IVsUIHierWinClipboardHelperEvents
public interface class IVsUIHierWinClipboardHelperEvents
__interface IVsUIHierWinClipboardHelperEvents
[System.Runtime.InteropServices.Guid("4D25F3C7-3138-4AC6-91AF-D7FF6929DB9F")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsUIHierWinClipboardHelperEvents
[System.Runtime.InteropServices.Guid("4D25F3C7-3138-4AC6-91AF-D7FF6929DB9F")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIHierWinClipboardHelperEvents
[<System.Runtime.InteropServices.Guid("4D25F3C7-3138-4AC6-91AF-D7FF6929DB9F")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsUIHierWinClipboardHelperEvents = interface
[<System.Runtime.InteropServices.Guid("4D25F3C7-3138-4AC6-91AF-D7FF6929DB9F")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUIHierWinClipboardHelperEvents = interface
Public Interface IVsUIHierWinClipboardHelperEvents
Attributes

Remarks

This interface provides notification of clipboard events to source hierarchies, which have called AdviseClipboardHelperEvents and are involved in cut and copy operations.

See illustrations of the implementation and/or calling of this interface in the sample Basic Project.

Notes to Implementers

Implemented by source hierarchies that are involved in cut and copy operations implementing IVsUIHierWinClipboardHelper.

Notes to Callers

Called by the environment when IVsUIHierWinClipboardHelper is implemented.

Methods

OnClear(Int32)

Signals that the clipboard has been cleared.

OnPaste(Int32, UInt32)

Signals that a paste operation has occurred.

Applies to