Freigeben über


VsTextBufferClass.IVsTextLines_InitializeContent Method

Initializes the content of the text buffer.

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

Syntax

'Declaration
Public Overridable Function IVsTextLines_InitializeContent ( _
    pszText As String, _
    iLength As Integer _
) As Integer
'Usage
Dim instance As VsTextBufferClass
Dim pszText As String
Dim iLength As Integer
Dim returnValue As Integer

returnValue = instance.IVsTextLines_InitializeContent(pszText, _
    iLength)
public virtual int IVsTextLines_InitializeContent(
    string pszText,
    int iLength
)
public:
virtual int IVsTextLines_InitializeContent(
    [InAttribute] String^ pszText, 
    [InAttribute] int iLength
)
abstract IVsTextLines_InitializeContent : 
        pszText:string * 
        iLength:int -> int 
override IVsTextLines_InitializeContent : 
        pszText:string * 
        iLength:int -> int 
public function IVsTextLines_InitializeContent(
    pszText : String, 
    iLength : int
) : int

Parameters

  • pszText
    Type: System.String
    [in] Text to insert into the buffer.
  • iLength
    Type: System.Int32
    [in] Number of characters to be inserted.

Return Value

Type: System.Int32

Implements

IVsTextLines.InitializeContent(String, Int32)

.NET Framework Security

See Also

Reference

VsTextBufferClass Class

VsTextBufferClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace