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)

[InterfaceTypeAttribute(1)]
[GuidAttribute("E36E3541-45D6-4AD8-B5AF-DDCB3E02CF3F")]
public interface IVsLanguageClipboardOpsEx

NameDescription
System_CAPS_pubmethodIsTextDataEx(IDataObject, IVsTextLines, Int32)

Determines whether a data object contains data that can be rendered into text.

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.

Return to top
Show: