See Also

SegmentedStream Class  | SegmentedStream Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

buffer
The storage location of the data to be sent.
See Also Languages PowerTCP Email Validation for .NET

Write(String) Method

Dart.PowerTCP.EmailValidation Namespace > SegmentedStream Class > Write Method : Write(String) Method

Write a string to the stream.

[Visual Basic]
Overloads Public Sub Write( _    ByVal buffer As String _ )
[C#]
public void Write(    string buffer );
[C++]
public: void Write(    string* buffer )
[C++/CLI]
public: void Write(    String^ buffer )

Parameters

buffer
The storage location of the data to be sent.

Exceptions

ExceptionDescription
IOExceptionThrown when the stream is not Writeable.

Remarks

This method writes a string to the stream and returns from complete. Since this method writes a string (doing a byte array conversion behind-the-scenes using the Object.Charset to convert unicode characters to bytes) to the stream, it is useful for such purposes as sending protocol commands to a server.

Use the CanWrite property to determine whether the current instance supports writing.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

SegmentedStream Class  | SegmentedStream Members  | Overload List


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.