Lidgren Network Library documentation |
NetQueue<(Of <(<'T>)>)>..::..TryDequeue Method |
NetQueue<(Of <(<'T>)>)> Class See Also Send Feedback |
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
C# |
---|
public bool TryDequeue( out T item ) |
Visual Basic |
---|
Public Function TryDequeue ( _ <OutAttribute> ByRef item As T _ ) As Boolean |
Visual C++ |
---|
public: bool TryDequeue( [OutAttribute] T% item ) |
Parameters
- item
- Type: T%
[Missing <param name="item"/> documentation for "M:Lidgren.Network.NetQueue`1.TryDequeue(`0@)"]
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetQueue`1.TryDequeue(`0@)"]