Compartilhar via


IVsLanguageClipboardOpsEx Interface

Implemented by languages that need to access the underlying text buffer to decide whether to handle clipboard and drag/drop operations.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("E36E3541-45D6-4AD8-B5AF-DDCB3E02CF3F")> _
Public Interface IVsLanguageClipboardOpsEx
[InterfaceTypeAttribute()]
[GuidAttribute("E36E3541-45D6-4AD8-B5AF-DDCB3E02CF3F")]
public interface IVsLanguageClipboardOpsEx
[InterfaceTypeAttribute()]
[GuidAttribute(L"E36E3541-45D6-4AD8-B5AF-DDCB3E02CF3F")]
public interface class IVsLanguageClipboardOpsEx
[<InterfaceTypeAttribute()>]
[<GuidAttribute("E36E3541-45D6-4AD8-B5AF-DDCB3E02CF3F")>]
type IVsLanguageClipboardOpsEx =  interface end
public interface IVsLanguageClipboardOpsEx

The IVsLanguageClipboardOpsEx type exposes the following members.

Methods

  Name Description
Public method IsTextDataEx Determines whether a data object contains data that can be rendered into text.

Top

Remarks

Get this interface from the language service by calling QueryService on the GUID of the language service and IID_IVsLanguageClipboardOpsEx.

You should implement the IVsLanguageDragDropOps interface if you need to decide whether or not to do a drop based on the drop location. You should implement IVsLanguageClipboardOpsEx in any case, because paste decisions must be made independently of the location in the buffer.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace