共用方式為


IVsLanguageClipboardOps Interface

Definition

Customizes copy and paste operations.

public interface class IVsLanguageClipboardOps
public interface class IVsLanguageClipboardOps
__interface IVsLanguageClipboardOps
[System.Runtime.InteropServices.Guid("2ED7B280-B372-415E-862D-D7D9AEAFCD10")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsLanguageClipboardOps
[System.Runtime.InteropServices.Guid("2ED7B280-B372-415E-862D-D7D9AEAFCD10")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsLanguageClipboardOps
[<System.Runtime.InteropServices.Guid("2ED7B280-B372-415E-862D-D7D9AEAFCD10")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsLanguageClipboardOps = interface
[<System.Runtime.InteropServices.Guid("2ED7B280-B372-415E-862D-D7D9AEAFCD10")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsLanguageClipboardOps = interface
Public Interface IVsLanguageClipboardOps
Attributes

Notes to Implementers

Implement this interface on the language service object to allow your language service to customize how data objects are copied and pasted.

Methods

DataObjectRendered(IVsTextLines, UInt32, TextSpan[])

Allows changes to a data object after it is inserted.

GetDataObject(IVsTextView, IVsTextLayer, IDataObject)

Creates an IDataObject with language-specific formats.

IsTextData(IDataObject)

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

TextFromData(IVsTextLayer, IDataObject, LTE_TEXTDATAFLAGS[], String)

Render this data object to text.

Applies to