Platform SDK: DirectX

DirectPlayMessage.WriteString

The DirectPlayMessage.WriteString method writes a String to the message data and advances the write pointer.

object.WriteString(val As String)

Parameters

object
Object expression that resolves to a DirectPlayMessage object.
val
Value to write to the message.

Error Codes

If the method fails, an error is raised and Err.Number will be set.