Reference
OpcValueCollection Members
Represents a generic collection of OpcValue instances.
Reference
OpcValueCollection<T> Members
- Type
- OpcValueCollection<T>
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from Collection<T>.
Constructors
OpcValueCollection
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opc |
| Opc | Initializes a new instance of the Opclist. |
OpcValueCollection()
Initializes a new instance of the OpcValueCollection<T> class.
csharp
public OpcValueCollection()vbnet
Public Sub New()OpcValueCollection(IList<T>)
Initializes a new instance of the OpcValueCollection<T> class as a wrapper for the specified list.
csharp
public OpcValueCollection(IList<T> list)vbnet
Public Sub New(list As IList(Of T))Parameters
| Name | Type | Description |
|---|---|---|
list | IList< | The IList< |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The list is a null reference ( |
Methods
ClearItems
Removes all values from the collection.
csharp
protected override void ClearItems()vbnet
Protected Overrides Sub ClearItems()Overrides
InsertItem
Inserts the item into the collection at the index specified.
csharp
protected override void InsertItem(int index, T item)vbnet
Protected Overrides Sub InsertItem(index As Integer, item As T)Parameters
| Name | Type | Description |
|---|---|---|
index | Int32 | The zero-based index at which the item is to be inserted. |
item | T | The value to insert. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The index is less than zero or greater than the number of values in the collection. |
Overrides
RemoveItem
Removes the value at the index specified from the collection.
csharp
protected override void RemoveItem(int index)vbnet
Protected Overrides Sub RemoveItem(index As Integer)Parameters
| Name | Type | Description |
|---|---|---|
index | Int32 | The zero-based index of the value to remove. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The index is less than zero or not less than the number of values in the collection. |
Overrides
SetItem
Replaces the value at the index specified with the item.
csharp
protected override void SetItem(int index, T item)vbnet
Protected Overrides Sub SetItem(index As Integer, item As T)Parameters
| Name | Type | Description |
|---|---|---|
index | Int32 | The zero-based index of the value to replace. |
item | T | The value to set at the index. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The index is less than zero or not less than the number of values in the collection. |
Overrides

