CreateMessage Method (String)

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Creates a new message for sending and writes the provided string to it

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public NetOutgoingMessage CreateMessage(
	string content
)
Visual Basic
Public Function CreateMessage ( _
	content As String _
) As NetOutgoingMessage
Visual C++
public:
NetOutgoingMessage^ CreateMessage(
	String^ content
)

Parameters

content
Type: System..::..String

[Missing <param name="content"/> documentation for "M:Lidgren.Network.NetPeer.CreateMessage(System.String)"]

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetPeer.CreateMessage(System.String)"]

See Also