共用方式為


IVsLanguageClipboardOpsEx Interface

Definition

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

public interface class IVsLanguageClipboardOpsEx
public interface class IVsLanguageClipboardOpsEx
__interface IVsLanguageClipboardOpsEx
[System.Runtime.InteropServices.Guid("E36E3541-45D6-4AD8-B5AF-DDCB3E02CF3F")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsLanguageClipboardOpsEx
[System.Runtime.InteropServices.Guid("E36E3541-45D6-4AD8-B5AF-DDCB3E02CF3F")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsLanguageClipboardOpsEx
[<System.Runtime.InteropServices.Guid("E36E3541-45D6-4AD8-B5AF-DDCB3E02CF3F")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsLanguageClipboardOpsEx = interface
[<System.Runtime.InteropServices.Guid("E36E3541-45D6-4AD8-B5AF-DDCB3E02CF3F")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsLanguageClipboardOpsEx = interface
Public Interface IVsLanguageClipboardOpsEx
Attributes

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.

Methods

IsTextDataEx(IDataObject, IVsTextLines, Int32)

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

Applies to