IElementAdder(TContext).CanAddElement Method

Rotorz ReorderableList

IElementAdderTContextCanAddElement Method
Determines whether a new element of the specified type can be added to the associated context object.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
bool CanAddElement(
	Type type
)
function CanAddElement(
	type : Type
) : boolean

Parameters

type
Type: SystemType
Type of element to add.

Return Value

Type: Boolean
A value of true if an element of the specified type can be added; otherwise, a value of false.
See Also