VsTextLineStorageClass.Image_LoadText(String, Int32, UInt32) 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.
Loads the specified text image.
public:
virtual int Image_LoadText(System::String ^ pszText, int iLength, System::UInt32 dwFlags) = Microsoft::VisualStudio::TextManager::Interop::IVsPersistentTextImage::Image_LoadText;
public:
virtual int Image_LoadText(System::String ^ pszText, int iLength, System::UInt32 dwFlags);
public:
virtual int Image_LoadText(Platform::String ^ pszText, int iLength, unsigned int dwFlags) = Microsoft::VisualStudio::TextManager::Interop::IVsPersistentTextImage::Image_LoadText;
virtual int Image_LoadText(std::wstring const & pszText, int iLength, unsigned int dwFlags);
public virtual int Image_LoadText (string pszText, int iLength, uint dwFlags);
abstract member Image_LoadText : string * int * uint32 -> int
override this.Image_LoadText : string * int * uint32 -> int
Public Overridable Function Image_LoadText (pszText As String, iLength As Integer, dwFlags As UInteger) As Integer
Parameters
- pszText
- String
[in] The text image.
- iLength
- Int32
[in] The length of the text image.
- dwFlags
- UInt32
[in] Flags indicating options.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.