Sdílet prostřednictvím


VsTextSpanSetClass.AttachTextImage(Object) Method

Definition

Passes a text image to the environment.

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

Parameters

pText
Object

[in] Pointer to a text image.

Returns

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

Implements

Applies to