Sdílet prostřednictvím


VsTextLineStorageClass.Image_LoadText(String, Int32, UInt32) Method

Definition

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.

Implements

Applies to