Click or drag to resize

IControllerTemplateGetElementT Method (Int32)

Gets the specified Controller Template element.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
T GetElement<T>(
	int id
)
where T : class, IControllerTemplateElement

Parameters

id
Type: SystemInt32
Id of the Controller Template element.

Type Parameters

T
Controller template element type.

Return Value

Type: T
Returns the Controller Template element. Returns null if the element was not found or the type is not implemented by the element.
See Also