共用方式為


VsTextLineStorageClass.Storage_GetLineDataEx Method

Gets the line data.

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

Syntax

'宣告
Public Overridable Function Storage_GetLineDataEx ( _
    dwFlags As UInteger, _
    iLine As Integer, _
    iStartIndex As Integer, _
    iEndIndex As Integer, _
    <OutAttribute> pLineData As LINEDATAEX() _
) As Integer
public virtual int Storage_GetLineDataEx(
    uint dwFlags,
    int iLine,
    int iStartIndex,
    int iEndIndex,
    LINEDATAEX[] pLineData
)
public:
virtual int Storage_GetLineDataEx(
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] int iLine, 
    [InAttribute] int iStartIndex, 
    [InAttribute] int iEndIndex, 
    [OutAttribute] array<LINEDATAEX>^ pLineData
)
abstract Storage_GetLineDataEx : 
        dwFlags:uint32 * 
        iLine:int * 
        iStartIndex:int * 
        iEndIndex:int * 
        pLineData:LINEDATAEX[] byref -> int 
override Storage_GetLineDataEx : 
        dwFlags:uint32 * 
        iLine:int * 
        iStartIndex:int * 
        iEndIndex:int * 
        pLineData:LINEDATAEX[] byref -> int 
public function Storage_GetLineDataEx(
    dwFlags : uint, 
    iLine : int, 
    iStartIndex : int, 
    iEndIndex : int, 
    pLineData : LINEDATAEX[]
) : int

Parameters

  • dwFlags
    Type: System.UInt32
    [in] Flags indicating line properties.
  • iLine
    Type: System.Int32
    [in] The line for which to get data.
  • iStartIndex
    Type: System.Int32
    [in] The start index in the line.
  • iEndIndex
    Type: System.Int32
    [in] The end index in the line.

Return Value

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

Implements

IVsTextStorage.Storage_GetLineDataEx(UInt32, Int32, Int32, Int32, array<LINEDATAEX[])

.NET Framework Security

See Also

Reference

VsTextLineStorageClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace