Class DynamicPropertyCollection
Inheritance
DynamicPropertyCollection
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public class DynamicPropertyCollection : ICollection, IEnumerable<DynamicProperty>, IEnumerable
Properties
Count
Declaration
public virtual int Count { get; }
Property Value
IsSynchronized
Declaration
public virtual bool IsSynchronized { get; }
Property Value
Item[Int32]
Gets the item at the specified index.
Declaration
public DynamicProperty this[int index] { get; }
Parameters
Type |
Name |
Description |
Int32 |
index |
The zero-based index of the item to get.
|
Property Value
Exceptions
Item[String]
Gets the item with the specified id.
Declaration
public DynamicProperty this[string id] { get; }
Parameters
Type |
Name |
Description |
String |
id |
The id of the item to get.
|
Property Value
Exceptions
Parent
The Parent property returns a reference to the parent smart component.
Declaration
public ProjectObject Parent { get; }
Property Value
SyncRoot
Declaration
public virtual object SyncRoot { get; }
Property Value
Methods
Add(DynamicProperty)
Adds a property to this DynamicPropertyCollection object.
Declaration
public void Add(DynamicProperty dynamicProperty)
Parameters
Type |
Name |
Description |
DynamicProperty |
dynamicProperty |
The property to be added.
|
Contains(String)
Determines if the DynamicPropertyCollection contains a specific id.
Declaration
public bool Contains(string id)
Parameters
Type |
Name |
Description |
String |
id |
|
Returns
CopyTo(DynamicProperty[], Int32)
Declaration
public void CopyTo(DynamicProperty[] array, int index)
Parameters
CopyTo(Array, Int32)
Declaration
public virtual void CopyTo(Array array, int index)
Parameters
GetEnumerator()
Returns an IEnumerator that iterates over the keys in the DynamicPropertyCollection.
Declaration
public virtual IEnumerator GetEnumerator()
Returns
IndexOf(DynamicProperty)
Declaration
public int IndexOf(DynamicProperty dynamicProperty)
Parameters
Returns
Insert(Int32, DynamicProperty)
Declaration
public void Insert(int index, DynamicProperty dynamicProperty)
Parameters
Remove(String)
Removes an property from this DynamicPropertyCollection object.
Declaration
public void Remove(string name)
Parameters
Type |
Name |
Description |
String |
name |
The id of the property to be removed.
|
Exceptions
Type |
Condition |
ArgumentException |
An property with the specified id has not been added to the collection
|
Events
Changed
Raised when an item is added to or removed from the collection
Declaration
public event CollectionChangedEventHandler Changed
Event Type