Relation.typeForName

Get the AtkRelationType type corresponding to a relation name.

class Relation
static
typeForName
(
string name
)

Parameters

name string

a string which is the (non-localized) name of an ATK relation type.

Return Value

the AtkRelationType enumerated type corresponding to the specified name, or ATK_RELATION_NULL if no matching relation type is found.