| GameEventCollectionRemoveT Method (String) |
Removes 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 bool Remove<T>(
string name
)
where T : EventArgs
Public Function Remove(Of T As EventArgs) (
name As String
) As Boolean
public:
generic<typename T>
where T : EventArgs
bool Remove(
String^ name
)
member Remove :
name : string -> bool when 'T : EventArgs
Parameters
- name
- Type: SystemString
The name of the event.
Type Parameters
- T
- The type of the event arguments.
Return Value
Type:
Boolean if the event was removed; otherwise,
if the event was not found.
Exceptions See Also