Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ExecuteEvents.ValidateEventData

public static T ValidateEventData(EventSystems.BaseEventData data);

Parameters

data Data to validate.

Returns

T Data as T.

Description

Attempt to convert the data to type T. If conversion fails an ArgumentException is thrown.