openPDC Synchrophasor Help
ChannelCellCollectionBase<(Of <(<'T>)>)> Constructor (lastValidIndex, constantCellLength)
NamespacesTVA.PhasorProtocolsChannelCellCollectionBase<(Of <(<'T>)>)>ChannelCellCollectionBase<(Of <(<'T>)>)>(Int32, Boolean)
Creates a new ChannelCellCollectionBase<(Of <(<'T>)>)> from specified parameters.
Declaration Syntax
C#Visual BasicVisual C++
protected ChannelCellCollectionBase(
	int lastValidIndex,
	bool constantCellLength
)
Protected Sub New ( _
	lastValidIndex As Integer, _
	constantCellLength As Boolean _
)
protected:
ChannelCellCollectionBase(
	int lastValidIndex, 
	bool constantCellLength
)
Parameters
lastValidIndex (Int32)
Last valid index for the collection (i.e., maximum count - 1).
constantCellLength (Boolean)
Sets flag that determines if the lengths of IChannelCell elements in this ChannelCellCollectionBase<(Of <(<'T>)>)> are constant.
Remarks
lastValidIndex is used instead of maximum count so that maximum type values may be specified as needed. For example, if the protocol specifies a collection with a signed 16-bit maximum length you can specify MaxValue (i.e., 32,767) as the last valid index for the collection since total number of items supported would be 32,768.

Assembly: TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0