Class RibbonGroupCollection
A collection of RibbonGroup objects
Namespace: ABB.Robotics.RobotStudio.Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public class RibbonGroupCollection : ICollection, IEnumerable<RibbonGroup>, IEnumerable
Properties
Count
Returns the number of items in the collection
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
Int32 |
IsSynchronized
See ICollection.IsSynchronized. Always returns false.
Declaration
public bool IsSynchronized { get; }
Property Value
Type | Description |
---|---|
Boolean |
Item[Int32]
Gets the RibbonGroup with the given index in the collection
Declaration
public RibbonGroup this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
RibbonGroup |
Item[String]
Returns the RibbonGroup with the specified ID
Declaration
public RibbonGroup this[string id] { get; }
Parameters
Type | Name | Description |
---|---|---|
String | id |
Property Value
Type | Description |
---|---|
RibbonGroup |
SyncRoot
See ICollection.SyncRoot
Declaration
public object SyncRoot { get; }
Property Value
Type | Description |
---|---|
Object |
Methods
Add(RibbonGroup)
Adds a RibbonGroup to the collection
Declaration
public void Add(RibbonGroup ribbonGroup)
Parameters
Type | Name | Description |
---|---|---|
RibbonGroup | ribbonGroup | RibbonGroup to add |
Contains(RibbonGroup)
Returns True if the collection contains the specified RibbonGroup, false otherwise
Declaration
public bool Contains(RibbonGroup ribbonGroup)
Parameters
Type | Name | Description |
---|---|---|
RibbonGroup | ribbonGroup | The RibbonGroup to search for |
Returns
Type | Description |
---|---|
Boolean | True if the collection contains the specified RibbonGroup, false otherwise |
CopyTo(RibbonGroup[], Int32)
Copies the elements of the collection to an RibbonGroup array, starting at a particular Array index
Declaration
public void CopyTo(RibbonGroup[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
RibbonGroup[] | array | |
Int32 | index |
GetEnumerator()
See IEnumerable.GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator |
Remove(RibbonGroup)
Removes a RibbonGroup from the collection
Declaration
public void Remove(RibbonGroup ribbonGroup)
Parameters
Type | Name | Description |
---|---|---|
RibbonGroup | ribbonGroup | RibbonGroup to remove |