UA Bundle SDK .NET  2.2.0.255
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaBase.VariantCollection Class Reference

A collection of Variants. More...

Inherits List< Variant >, and ICloneable.

Public Member Functions

 VariantCollection ()
 Creates an empty list. More...
 
 VariantCollection (IEnumerable< Variant > values)
 Creates a list and initializes it with another list. More...
 
 VariantCollection (int capacity)
 Creates a list with the specified capacity. More...
 
object Clone ()
 Creates a deep copy of the object. More...
 

Static Public Member Functions

static implicit operator VariantCollection (Variant[] values)
 Converts an array to a collection. More...
 
static operator Variant[] (VariantCollection values)
 Converts a collection to an array. More...
 

Detailed Description

A collection of Variants.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.VariantCollection.VariantCollection ( )
inline

Creates an empty list.

UnifiedAutomation.UaBase.VariantCollection.VariantCollection ( IEnumerable< Variant values)
inline

Creates a list and initializes it with another list.

Parameters
valuesThe list to copy.
UnifiedAutomation.UaBase.VariantCollection.VariantCollection ( int  capacity)
inline

Creates a list with the specified capacity.

Parameters
capacityThe number of elements to allocate.

Member Function Documentation

object UnifiedAutomation.UaBase.VariantCollection.Clone ( )
inline

Creates a deep copy of the object.

static UnifiedAutomation.UaBase.VariantCollection.operator Variant[] ( VariantCollection  values)
inlineexplicitstatic

Converts a collection to an array.

Parameters
valuesThe values to copy.
Returns
A collection initialized with the values.
static implicit UnifiedAutomation.UaBase.VariantCollection.operator VariantCollection ( Variant[]  values)
inlinestatic

Converts an array to a collection.

Parameters
valuesThe values to copy.
Returns
A collection initialized with the values.

The documentation for this class was generated from the following file: