Class AssetCollection
Inheritance
AssetCollection
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public class AssetCollection : ICollection, IEnumerable<Asset>, IEnumerable
Properties
Count
Declaration
public virtual int Count { get; }
Property Value
IsSynchronized
Declaration
public virtual bool IsSynchronized { get; }
Property Value
Item[Int32]
Declaration
public Asset this[int index] { get; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Parent
Declaration
public ProjectObject Parent { get; }
Property Value
SyncRoot
Declaration
public virtual object SyncRoot { get; }
Property Value
Methods
Add(Asset)
Adds an Asset to the collection.
Declaration
public void Add(Asset asset)
Parameters
Type |
Name |
Description |
Asset |
asset |
The asset to add to the collection.
|
Contains(Asset)
Declaration
public bool Contains(Asset obj)
Parameters
Type |
Name |
Description |
Asset |
obj |
|
Returns
Contains(String)
Declaration
public bool Contains(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
CopyTo(Asset[], Int32)
Declaration
public void CopyTo(Asset[] array, int index)
Parameters
CopyTo(Array, Int32)
Declaration
public virtual void CopyTo(Array array, int index)
Parameters
GetEnumerator()
Declaration
public virtual IEnumerator GetEnumerator()
Returns
Remove(Asset)
Removes an Asset from the the collection.
Declaration
public void Remove(Asset asset)
Parameters
Type |
Name |
Description |
Asset |
asset |
The asset to remove from the collection.
|
ToArray()
Declaration
Returns
TryGetAsset(String, out Asset)
Declaration
public bool TryGetAsset(string name, out Asset asset)
Parameters
Returns
Events
Changed
Raised when an item is added to or removed from the collection
Declaration
public event CollectionChangedEventHandler Changed
Event Type