| GameEventCollectionAddT Method (String) |
Adds an 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 void Add<T>(
string name
)
where T : EventArgs
Public Sub Add(Of T As EventArgs) (
name As String
)
public:
generic<typename T>
where T : EventArgs
void Add(
String^ name
)
member Add :
name : string -> unit when 'T : EventArgs
Parameters
- name
- Type: SystemString
The event name.
Type Parameters
- T
- The type of the event arguments.
Exceptions See Also