| GameObjectGetEventMetadataT Method (String) |
Gets metadata for 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 static GameEventMetadata<T> GetEventMetadata<T>(
string name
)
where T : EventArgs
Public Shared Function GetEventMetadata(Of T As EventArgs) (
name As String
) As GameEventMetadata(Of T)
public:
generic<typename T>
where T : EventArgs
static GameEventMetadata<T>^ GetEventMetadata(
String^ name
)
static member GetEventMetadata :
name : string -> GameEventMetadata<'T> when 'T : EventArgs
Parameters
- name
- Type: SystemString
The event name.
Type Parameters
- T
- The type of the event arguments.
Return Value
Type:
GameEventMetadataT
The event metadata, or
if no event with the given
name was defined with
CreateEventT(String, String, String, T).
See Also