Class OptionsPageCollection
Represents a collection of IOptionsPage items
Namespace: ABB.Robotics.RobotStudio.Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public class OptionsPageCollection : IEnumerable<IOptionsPage>, IEnumerable
Constructors
OptionsPageCollection()
Declaration
public OptionsPageCollection()
Methods
Add(IOptionsPage)
Adds a page to the collection
Declaration
public void Add(IOptionsPage page)
Parameters
Type | Name | Description |
---|---|---|
IOptionsPage | page |
Add(Type)
Adds a page type to the collection. The page object is created when the collection is enumerated.
Declaration
public void Add(Type pageType)
Parameters
Type | Name | Description |
---|---|---|
Type | pageType |
GetEnumerator()
See IEnumerable.GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator |
Remove(IOptionsPage)
Removes a page from the collection
Declaration
public void Remove(IOptionsPage page)
Parameters
Type | Name | Description |
---|---|---|
IOptionsPage | page |