RdtManager.GetTextLines Method

Returns an IVsTextLines from a file. If that file is in the RDT, get the text buffer from it. If the file is not in the RDT, open the file in the invisible editor and get the text buffer from it. If getting text buffer fails, return null.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Function GetTextLines ( _
    fullPathFileName As String _
) As IVsTextLines
'Usage
Dim fullPathFileName As String
Dim returnValue As IVsTextLines

returnValue = RdtManager.GetTextLines(fullPathFileName)
public static IVsTextLines GetTextLines(
    string fullPathFileName
)
public:
static IVsTextLines^ GetTextLines(
    String^ fullPathFileName
)
public static function GetTextLines(
    fullPathFileName : String
) : IVsTextLines
static member GetTextLines : 
        fullPathFileName:string -> IVsTextLines 

Parameters

Return Value

Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines

.NET Framework Security

See Also

Reference

RdtManager Class

RdtManager Members

Microsoft.VisualStudio.Data.Schema.Project.Project Namespace