Поделиться через


IVsUIHierWinClipboardHelperEvents Interface

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

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("4D25F3C7-3138-4AC6-91AF-D7FF6929DB9F")> _
Public Interface IVsUIHierWinClipboardHelperEvents
[InterfaceTypeAttribute()]
[GuidAttribute("4D25F3C7-3138-4AC6-91AF-D7FF6929DB9F")]
public interface IVsUIHierWinClipboardHelperEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"4D25F3C7-3138-4AC6-91AF-D7FF6929DB9F")]
public interface class IVsUIHierWinClipboardHelperEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("4D25F3C7-3138-4AC6-91AF-D7FF6929DB9F")>]
type IVsUIHierWinClipboardHelperEvents =  interface end
public interface IVsUIHierWinClipboardHelperEvents

The IVsUIHierWinClipboardHelperEvents type exposes the following members.

Methods

  Name Description
Public method OnClear Signals that the clipboard has been cleared.
Public method OnPaste Signals that a paste operation has occurred.

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace