VsTextSpanSetClass.AttachTextImage(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.