共用方式為


VsTextLineStorageClass.Image_LoadText Method

Loads the specified text image.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
Public Overridable Function Image_LoadText ( _
    pszText As String, _
    iLength As Integer, _
    dwFlags As UInteger _
) As Integer
public virtual int Image_LoadText(
    string pszText,
    int iLength,
    uint dwFlags
)
public:
virtual int Image_LoadText(
    [InAttribute] String^ pszText, 
    [InAttribute] int iLength, 
    [InAttribute] unsigned int dwFlags
)
abstract Image_LoadText : 
        pszText:string * 
        iLength:int * 
        dwFlags:uint32 -> int 
override Image_LoadText : 
        pszText:string * 
        iLength:int * 
        dwFlags:uint32 -> int 
public function Image_LoadText(
    pszText : String, 
    iLength : int, 
    dwFlags : uint
) : int

Parameters

  • iLength
    Type: System.Int32
    [in] The length of the text image.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsPersistentTextImage.Image_LoadText(String, Int32, UInt32)

.NET Framework Security

See Also

Reference

VsTextLineStorageClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace