PowerTCP Mail for .NET
Read(String) Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > SegmentedStream Class > Read Method : Read(String) Method




delimiter
The sequence to find.
Reads stream, accumulating string data, until delimiter is reached or timeout is reached.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Read( _
   ByVal delimiter As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As SegmentedStream
Dim delimiter As String
Dim value As String
 
value = instance.Read(delimiter)
C# 
public string Read( 
   string delimiter
)
Managed Extensions for C++ 
public: string* Read( 
   string* delimiter
) 
C++/CLI 
public:
String^ Read( 
   String^ delimiter
) 

Parameters

delimiter
The sequence to find.

Return Value

The accumulated string data read from the stream.

Remarks

This method is useful when implementing high-level protocols.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.