Lidgren Network Library documentation |
NetQueue<(Of <(<'T>)>)>..::..TryPeek Method |
NetQueue<(Of <(<'T>)>)> Class See Also Send Feedback |
Returns default(T) if queue is empty
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public T TryPeek( int offset ) |
Visual Basic |
---|
Public Function TryPeek ( _ offset As Integer _ ) As T |
Visual C++ |
---|
public: T TryPeek( int offset ) |
Parameters
- offset
- Type: System..::..Int32
[Missing <param name="offset"/> documentation for "M:Lidgren.Network.NetQueue`1.TryPeek(System.Int32)"]
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetQueue`1.TryPeek(System.Int32)"]