IVsPersistentTextImage::Image_FullTextRead Method (String^, Int32)
Visual Studio 2015
Reads the full text image.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- ppszText
-
Type:
System::String^
[out] The text image.
- piLength
-
Type:
System::Int32
[out] The length of the text image.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsPersistentTextImage::Image_FullTextRead( [out] const WCHAR **ppszText, [out] long *piLength );
Note |
|---|
The text buffer is created by the IVsPersistentTextImage object and the buffer must persist for the life of the IVsPersistentTextImage object or until the Image_CloseFullTextScan method is called. If you are implementing this interface in managed code and you need to have the string disposed of by the caller, implement the IVsCoTaskMemFreeMyStrings interface on the IVsPersistentTextImage interface. |
Show:
