Class RsMechanicalUnitCollection
Inheritance
RsMechanicalUnitCollection
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public class RsMechanicalUnitCollection : ICollection, IEnumerable<RsMechanicalUnit>, IEnumerable
Properties
Count
Declaration
public virtual int Count { get; }
Property Value
IsSynchronized
Declaration
public virtual bool IsSynchronized { get; }
Property Value
Item[Int32]
Declaration
public RsMechanicalUnit this[int index] { get; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Item[String]
Declaration
public RsMechanicalUnit this[string name] { get; }
Parameters
Type |
Name |
Description |
String |
name |
|
Property Value
Parent
Declaration
public ProjectObject Parent { get; }
Property Value
SyncRoot
Declaration
public virtual object SyncRoot { get; }
Property Value
Methods
Contains(RsMechanicalUnit)
Declaration
public bool Contains(RsMechanicalUnit obj)
Parameters
Returns
Contains(String)
Declaration
public bool Contains(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
CopyTo(RsMechanicalUnit[], Int32)
Declaration
public void CopyTo(RsMechanicalUnit[] array, int index)
Parameters
CopyTo(Array, Int32)
Declaration
public virtual void CopyTo(Array array, int index)
Parameters
GetEnumerator()
Declaration
public virtual IEnumerator GetEnumerator()
Returns
ToArray()
Declaration
public RsMechanicalUnit[] ToArray()
Returns
TryGetMechanicalUnit(String, out RsMechanicalUnit)
Gets the mechunit with the specified name.
Declaration
public bool TryGetMechanicalUnit(string name, out RsMechanicalUnit mechanicalUnit)
Parameters
Type |
Name |
Description |
String |
name |
The name of the mechunit to get.
|
RsMechanicalUnit |
mechanicalUnit |
When this method returns, contains the mechunit associated with the specified name,
if the name is found; otherwise, null.
|
Returns
Type |
Description |
Boolean |
true if the RsMechanicalUnitCollection contains an element with the specified name; otherwise, false.
|
Exceptions