Freigeben über


IVsTextLayer.GetLineDataEx Method

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

Syntax

'Declaration
Function GetLineDataEx ( _
    dwFlags As UInteger, _
    iLine As Integer, _
    iStartIndex As Integer, _
    iEndIndex As Integer, _
    <OutAttribute> pLineData As LINEDATAEX(), _
    pMarkerData As MARKERDATA() _
) As Integer
'Usage
Dim instance As IVsTextLayer
Dim dwFlags As UInteger
Dim iLine As Integer
Dim iStartIndex As Integer
Dim iEndIndex As Integer
Dim pLineData As LINEDATAEX()
Dim pMarkerData As MARKERDATA()
Dim returnValue As Integer

returnValue = instance.GetLineDataEx(dwFlags, _
    iLine, iStartIndex, iEndIndex, pLineData, _
    pMarkerData)
int GetLineDataEx(
    uint dwFlags,
    int iLine,
    int iStartIndex,
    int iEndIndex,
    LINEDATAEX[] pLineData,
    MARKERDATA[] pMarkerData
)
int GetLineDataEx(
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] int iLine, 
    [InAttribute] int iStartIndex, 
    [InAttribute] int iEndIndex, 
    [OutAttribute] array<LINEDATAEX>^ pLineData, 
    [InAttribute] array<MARKERDATA>^ pMarkerData
)
abstract GetLineDataEx : 
        dwFlags:uint32 * 
        iLine:int * 
        iStartIndex:int * 
        iEndIndex:int * 
        pLineData:LINEDATAEX[] byref * 
        pMarkerData:MARKERDATA[] -> int 
function GetLineDataEx(
    dwFlags : uint, 
    iLine : int, 
    iStartIndex : int, 
    iEndIndex : int, 
    pLineData : LINEDATAEX[], 
    pMarkerData : MARKERDATA[]
) : int

Parameters

Return Value

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayer::GetLineDataEx(
   [in] DWORD dwFlags,
   [in] long iLine,
   [in] long iStartIndex,
   [in] long iEndIndex,
   [out] LINEDATAEX *pLineData,
   [in] MARKERDATA *pMarkerData
);

.NET Framework Security

See Also

Reference

IVsTextLayer Interface

IVsTextLayer Members

Microsoft.VisualStudio.TextManager.Interop Namespace