Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Overloads Shared Function Lines( _ ByVal textReader As TextReader, _ ByVal dispose As Boolean _ ) As IEnumerable(Of String) |
Visual Basic (Usage) | ![]() |
---|---|
Dim textReader As TextReader Dim dispose As Boolean Dim value As IEnumerable(Of String) value = ExtensionMethods.Lines(textReader, dispose) |
C# | |
---|---|
[Extension()] public static IEnumerable<string> Lines( TextReader textReader, bool dispose ) |
C++/CLI | |
---|---|
[Extension()] public: static IEnumerable<String^>^ Lines( TextReader^ textReader, bool dispose ) |
Parameters
- textReader
- dispose
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2