from_string


Description:

public static ComponentScope from_string (string scope_str)

Converts the text representation to an enumerated value.

Parameters:

scope_str

the string.

Returns:

a ComponentScope or as_component_scope_unknown for unknown