DirectX SDK

DirectPlayMessage.ReadString

The DirectPlayMessage.ReadString method reads a string from the message data and advances the read pointer.

object.ReadString() As String

Parameters

object
Object expression that resolves to a DirectPlayMessage object.

Return Values

The method returns a string from the message.

Error Codes

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