Gets an item from the head of the queue, or returns default(T) if empty
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
| Visual Basic |
|---|
Public Function TryDrain ( _
addTo As IList(Of T) _
) As Integer |
| Visual C++ |
|---|
public:
int TryDrain(
IList<T>^ addTo
) |
Parameters
- addTo
- Type: System.Collections.Generic..::..IList<(Of <(<'T>)>)>
[Missing <param name="addTo"/> documentation for "M:Lidgren.Network.NetQueue`1.TryDrain(System.Collections.Generic.IList{`0})"]
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetQueue`1.TryDrain(System.Collections.Generic.IList{`0})"]
See Also