Otter SDK Reference
Version:

Add(string item) Method

Adds the class to the collection of it is not already present.

Syntax

public bool Add(string item)

Parameters

item
Type: string

The class to add.

Returns

True if the class was added; otherwise false.