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