Class EventLogMessageCollection
Defines size and enumerators for a collection of EventLogMessage instances.
Namespace: ABB.Robotics.Controllers.EventLogDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public sealed class EventLogMessageCollection : IEnumerable<EventLogMessage>, ICollection, IEnumerable
Properties
Count
Gets the number of items in the collection
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
Int32 |
IsSynchronized
Declaration
public bool IsSynchronized { get; }
Property Value
Type | Description |
---|---|
Boolean |
Item[Int32]
Retrieves the item at the specified indexed location in the collection.
Declaration
public EventLogMessage this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
EventLogMessage | The item at the specified location. |
SyncRoot
Gets an object that can be used to syncronize access to EventLogMessageCollection
Declaration
public object SyncRoot { get; }
Property Value
Type | Description |
---|---|
Object |
Methods
CopyTo(EventLogMessage[], Int32)
Copy a portion of the EventLogMessageCollection to an array.
Declaration
public void CopyTo(EventLogMessage[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
EventLogMessage[] | array | The array to copy items to |
Int32 | index | The location within the destination array to copy the items from the collection to. |
CopyTo(Array, Int32)
Copy a portion of the EventLogMessageCollection to an array.
Declaration
public void CopyTo(Array array, int index)
Parameters
Type | Name | Description |
---|---|---|
Array | array | The array to copy items to |
Int32 | index | The location within the destination array to copy the items from the collection to. |
GetEnumerator()
Returns an enumerator that can iterate through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator | An IEnumerator that can be used to iterate through the collection. |
Explicit Interface Implementations
IEnumerable<EventLogMessage>.GetEnumerator()
Declaration
IEnumerator<EventLogMessage> IEnumerable<EventLogMessage>.GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<EventLogMessage> |