Gemstone PhasorProtocols Library
Show/Hide TOC

# AnalogDefinitionCollection Class

Represents a protocol independent collection of IAnalogDefinition objects.

## Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.150 -- Release Build+0627019d4c17e2f915e64987b3f2371651facacb
C#
View Source Request Example

    [SerializableAttribute]
    public class AnalogDefinitionCollection : ChannelDefinitionCollectionBase<IAnalogDefinition>

VB
View Source Request Example

    <SerializableAttribute>
    Public Class AnalogDefinitionCollection
    	Inherits ChannelDefinitionCollectionBase(Of IAnalogDefinition)

C++
View Source Request Example

    [SerializableAttribute]
    public ref class AnalogDefinitionCollection : public ChannelDefinitionCollectionBase<IAnalogDefinition^>

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.AnalogDefinitionCollection = function();

    Type.createClass(
    	'Gemstone.PhasorProtocols.AnalogDefinitionCollection',
    	Gemstone.PhasorProtocols.ChannelDefinitionCollectionBase`1);

Inheritance
  Object Collection IAnalogDefinition ListCollection IAnalogDefinition ChannelCollectionBase IAnalogDefinition ChannelDefinitionCollectionBase IAnalogDefinition AnalogDefinitionCollection

## Constructors

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

## Properties

Attributes | Gets a DictionaryTKey, TValue of string based property names and values for this IChannel object. (Inherited from ChannelCollectionBaseT)
BinaryLength | Gets the length of the ChannelCollectionBaseT. (Inherited from ChannelCollectionBaseT)
Count | Gets the number of elements contained in the ICollectionT. (Inherited from ListCollection IAnalogDefinition)
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 IAnalogDefinition)
Items | Gets a IListT wrapper around the CollectionT. (Inherited from ListCollection IAnalogDefinition)
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 IAnalogDefinition)
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 IAnalogDefinition)
ClearItems | Removes all elements from the ChannelCollectionBaseT. (Inherited from ChannelCollectionBaseT)
Contains(T1) | Determines whether the ICollectionT contains a specific value. (Inherited from ListCollection IAnalogDefinition)
CopyTo(T1[], Int32) | Copies the elements of the ICollectionT to an Array, starting at a particular Array index. (Inherited from ListCollection IAnalogDefinition)
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 IAnalogDefinition)
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 ChannelCollectionBaseT)
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 IAnalogDefinition)
Insert(Int32, T1) | Inserts an item to the IListT at the specified index. (Inherited from ListCollection IAnalogDefinition)
InsertItem | Inserts an element into the ChannelDefinitionCollectionBaseT at the specified index. (Inherited from ChannelDefinitionCollectionBaseT)
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 IAnalogDefinition)
RemoveAt(Int32) | Removes the element at the specified index of the CollectionT. (Inherited from ListCollection IAnalogDefinition)
RemoveItem | Removes the element at the specified index of the ChannelDefinitionCollectionBaseT. (Inherited from ChannelDefinitionCollectionBaseT)
SetItem | Replaces the element at the specified index. (Inherited from ChannelDefinitionCollectionBaseT)
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