Udostępnij za pośrednictwem


IVsSyntheticRegion.GetTextImage(IVsTextImage) Method

Definition

Gets the text image of the region.

public:
 int GetTextImage([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextImage ^ % ppImage);
public:
 int GetTextImage([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextImage ^ &  ppImage);
int GetTextImage([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextImage const & & ppImage);
public int GetTextImage (out Microsoft.VisualStudio.TextManager.Interop.IVsTextImage ppImage);
abstract member GetTextImage : IVsTextImage -> int
Public Function GetTextImage (ByRef ppImage As IVsTextImage) As Integer

Parameters

ppImage
IVsTextImage

[out] A relative text image that encompasses only the synthetic region's text.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsSyntheticRegion::GetTextImage(  
   [out] IVsTextImage **ppImage  
);  

Applies to