Partager via


VsFinderClass.AttachTextImage(Object) Method

Definition

Attaches a text image.

public:
 virtual int AttachTextImage(System::Object ^ pTextImage) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::AttachTextImage;
public:
 virtual int AttachTextImage(System::Object ^ pTextImage);
public:
 virtual int AttachTextImage(Platform::Object ^ pTextImage) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::AttachTextImage;
 virtual int AttachTextImage(winrt::Windows::Foundation::IInspectable const & pTextImage);
public virtual int AttachTextImage (object pTextImage);
abstract member AttachTextImage : obj -> int
override this.AttachTextImage : obj -> int
Public Overridable Function AttachTextImage (pTextImage As Object) As Integer

Parameters

pTextImage
Object

[in] Object to attach. IVsTextImage or IVsTextLines.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to