| GameEventCollectionGetT Method (Int32) |
Gets the event with the given ID.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax public GameEvent<T> Get<T>(
int id
)
where T : EventArgs
Public Function Get(Of T As EventArgs) (
id As Integer
) As GameEvent(Of T)
public:
generic<typename T>
where T : EventArgs
GameEvent<T> Get(
int id
)
member Get :
id : int -> GameEvent<'T> when 'T : EventArgs
Parameters
- id
- Type: SystemInt32
The ID of the event.
Type Parameters
- T
- The type of the event arguments.
Return Value
Type:
GameEventTThe event.
Exceptions See Also