from_string


Description:

public static ComponentKind from_string (string kind_str)

Converts the text representation to an enumerated value.

Parameters:

kind_str

the string.

Returns:

a ComponentKind or as_component_kind_unknown for unknown