Compartilhar via


IVsProjectTextImageProvider Interface

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.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<GuidAttribute("82A40D77-D2D4-4C93-AB11-8D50ADF02B1E")> _
<InterfaceTypeAttribute()> _
Public Interface IVsProjectTextImageProvider
[GuidAttribute("82A40D77-D2D4-4C93-AB11-8D50ADF02B1E")]
[InterfaceTypeAttribute()]
public interface IVsProjectTextImageProvider
[GuidAttribute(L"82A40D77-D2D4-4C93-AB11-8D50ADF02B1E")]
[InterfaceTypeAttribute()]
public interface class IVsProjectTextImageProvider
[<GuidAttribute("82A40D77-D2D4-4C93-AB11-8D50ADF02B1E")>]
[<InterfaceTypeAttribute()>]
type IVsProjectTextImageProvider =  interface end
public interface IVsProjectTextImageProvider

The IVsProjectTextImageProvider type exposes the following members.

Methods

  Name Description
Public method CloseItemTextImage Closes the text image of a project item.
Public method OpenItemTextImage Opens a text image for a given file.

Top

Remarks

An optional interface, implemented by IVsProject implementors.

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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace