Gemstone PhasorProtocols Library
Show/Hide TOC

# AnalogValueCollection Class

Represents a protocol independent collection of IAnalogValue objects.

## Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.143 -- Release Build+85729467224f210ef9c8bf0e7fa8d262d89bcbcd
C#
View Source Request Example

    [SerializableAttribute]
    public class AnalogValueCollection : ChannelValueCollectionBase<IAnalogDefinition, IAnalogValue>

VB
View Source Request Example

    <SerializableAttribute>
    Public Class AnalogValueCollection
    	Inherits ChannelValueCollectionBase(Of IAnalogDefinition, IAnalogValue)

C++
View Source Request Example

    [SerializableAttribute]
    public ref class AnalogValueCollection : public ChannelValueCollectionBase<IAnalogDefinition^, IAnalogValue^>

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.AnalogValueCollection = function();

    Type.createClass(
    	'Gemstone.PhasorProtocols.AnalogValueCollection',
    	Gemstone.PhasorProtocols.ChannelValueCollectionBase`2);

Inheritance
  Object Collection IAnalogValue ListCollection IAnalogValue ChannelCollectionBase IAnalogValue ChannelValueCollectionBase IAnalogDefinition, IAnalogValue AnalogValueCollection

## Constructors

AnalogValueCollection(Int32) | Creates a new AnalogValueCollection using specified lastValidIndex.
AnalogValueCollection(SerializationInfo, StreamingContext) | Creates a new AnalogValueCollection from serialization parameters.

## Properties

AllValuesAssigned | Gets a boolean value indicating if all of the composite values have been assigned a value. (Inherited from ChannelValueCollectionBaseTDefinition, TValue)
Attributes | Gets a DictionaryTKey, TValue of string based property names and values for this ChannelValueCollectionBaseTDefinition, TValue object. (Inherited from ChannelValueCollectionBaseTDefinition, TValue)
BinaryLength | Gets the length of the ChannelCollectionBaseT. (Inherited from ChannelValueCollectionBaseTDefinition, TValue)
Count | Gets the number of elements contained in the ICollectionT. (Inherited from ListCollection IAnalogValue)
FixedElementSize | Gets flag that indicates if collection elements have a fixed size. (Inherited from ChannelCollectionBaseT)
Item(Int32) | Gets or sets the element at the specified index. (Inherited from ListCollection IAnalogValue)
Items | Gets a IListT wrapper around the CollectionT. (Inherited from ListCollection IAnalogValue)
MaximumCount | Gets or sets the maximum allowed number of items for this ChannelCollectionBaseT. (Inherited from ChannelCollectionBaseT)
State | Gets or sets the parsing state for this IChannel object. (Inherited from ChannelCollectionBaseT)
Tag | Gets or sets a user definable reference to an object associated with this IChannel object. (Inherited from ChannelCollectionBaseT)

## Methods

Add(T1) | Adds an item to the ICollectionT. (Inherited from ListCollection IAnalogValue)
AddRange | Adds the elements of the specified collection to the end of the ChannelCollectionBaseT. (Inherited from ChannelCollectionBaseT)
Clear | Removes all items from the ICollectionT. (Inherited from ListCollection IAnalogValue)
ClearItems | Removes all elements from the ChannelValueCollectionBaseTDefinition, TValue. (Inherited from ChannelValueCollectionBaseTDefinition, TValue)
Contains(T1) | Determines whether the ICollectionT contains a specific value. (Inherited from ListCollection IAnalogValue)
CopyTo(T1[], Int32) | Copies the elements of the ICollectionT to an Array, starting at a particular Array index. (Inherited from ListCollection IAnalogValue)
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
GenerateBinaryImage | Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes. (Inherited from ChannelCollectionBaseT)
GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from ListCollection IAnalogValue)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ChannelValueCollectionBaseTDefinition, TValue)
GetType | Gets the Type of the current instance. (Inherited from Object)
IndexOf(T1) | Determines the index of a specific item in the IListT. (Inherited from ListCollection IAnalogValue)
Insert(Int32, T1) | Inserts an item to the IListT at the specified index. (Inherited from ListCollection IAnalogValue)
InsertItem | Inserts an element into the ChannelValueCollectionBaseTDefinition, TValue at the specified index. (Inherited from ChannelValueCollectionBaseTDefinition, TValue)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
OnCollectionChanged | Raises the NotifyCollectionChangedEventHandler event. (Inherited from ChannelCollectionBaseT)
RefreshBinding | Manually sends a Reset to the collection changed event. (Inherited from ChannelCollectionBaseT)
Remove(T1) | Removes the first occurrence of a specific object from the ICollectionT. (Inherited from ListCollection IAnalogValue)
RemoveAt(Int32) | Removes the element at the specified index of the CollectionT. (Inherited from ListCollection IAnalogValue)
RemoveItem | Removes the element at the specified index of the ChannelValueCollectionBaseTDefinition, TValue. (Inherited from ChannelValueCollectionBaseTDefinition, TValue)
SetItem | Replaces the element at the specified index. (Inherited from ChannelValueCollectionBaseTDefinition, TValue)
ToString | Returns a string that represents the current object. (Inherited from Object)

## Events

CollectionChanged | Notifies listeners of dynamic changes, such as when items get added and removed or the whole list is refreshed. (Inherited from ChannelCollectionBaseT)

## See Also

#### Reference

Gemstone.PhasorProtocols Namespace