Udostępnij za pośrednictwem


IVsProjectTextImageProvider Interface

Definition

Opens or close IVsTextImage interfaces for files. Often used to enable Find and Replace on non-local files. Frequently used with Web files. Your implementation should make itself available through querying IVsHierarchy.

public interface class IVsProjectTextImageProvider
public interface class IVsProjectTextImageProvider
__interface IVsProjectTextImageProvider
[System.Runtime.InteropServices.Guid("82A40D77-D2D4-4C93-AB11-8D50ADF02B1E")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsProjectTextImageProvider
[System.Runtime.InteropServices.Guid("82A40D77-D2D4-4C93-AB11-8D50ADF02B1E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProjectTextImageProvider
[<System.Runtime.InteropServices.Guid("82A40D77-D2D4-4C93-AB11-8D50ADF02B1E")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsProjectTextImageProvider = interface
[<System.Runtime.InteropServices.Guid("82A40D77-D2D4-4C93-AB11-8D50ADF02B1E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProjectTextImageProvider = interface
Public Interface IVsProjectTextImageProvider
Attributes

Remarks

An optional interface, implemented by IVsProject implementors.

For Find in files, the interface is called from a background thread**.**

Methods

CloseItemTextImage(String, UInt32, VsTextImage)

Closes the text image of a project item.

OpenItemTextImage(String, UInt32, VsTextImage)

Opens a text image for a given file.

Applies to