UseMessageRecycling Property

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Gets or sets if the library should recycling messages to avoid excessive garbage collection. Cannot be changed once NetPeer is initialized.

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

Syntax

C#
public bool UseMessageRecycling { get; set; }
Visual Basic
Public Property UseMessageRecycling As Boolean
	Get
	Set
Visual C++
public:
property bool UseMessageRecycling {
	bool get ();
	void set (bool value);
}

See Also