Class DomainCollection
A collection of CfgDomain objects.
Inherited Members
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
Namespace: ABB.Robotics.Controllers.ConfigurationDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class DomainCollection : EnumerableTCollectionBase<Domain>, IList, ICollection, IEnumerable<Domain>, IEnumerable
Constructors
DomainCollection()
Declaration
public DomainCollection()
Properties
Item[Int32]
Gets the Domain at the specified index.
Declaration
public Domain this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
Domain | The value. |
Item[String]
Gets theDomain with the specified name.
Declaration
public Domain this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
String | name |
Property Value
Type | Description |
---|---|
Domain | The value. |
Methods
Add(Domain)
Adds the specified value.
Declaration
public int Add(Domain value)
Parameters
Type | Name | Description |
---|---|---|
Domain | value | The value. |
Returns
Type | Description |
---|---|
Int32 |
Contains(Domain)
Determines whether the collection contains the specified value.
Declaration
public bool Contains(Domain value)
Parameters
Type | Name | Description |
---|---|---|
Domain | value | The value. |
Returns
Type | Description |
---|---|
Boolean |
|
IndexOf(Domain)
Get the index of the domain.
Declaration
public int IndexOf(Domain value)
Parameters
Type | Name | Description |
---|---|---|
Domain | value | The value. |
Returns
Type | Description |
---|---|
Int32 | Index of the domain, otherwise -1. |
IndexOf(String)
Gets the index of the domain with the specified name.
Declaration
public int IndexOf(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name. |
Returns
Type | Description |
---|---|
Int32 | The index of the domain; otherwise -1. |
Insert(Int32, Domain)
Inserts the specified index.
Declaration
public void Insert(int index, Domain value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index. |
Domain | value | The value. |
Remove(Domain)
Removes the specified value.
Declaration
public void Remove(Domain value)
Parameters
Type | Name | Description |
---|---|---|
Domain | value | The value. |