ChannelCollectionBaseT(Int32, Boolean) Constructor
Namespace: Gemstone.PhasorProtocolsAssembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.137 -- Release Build+761dca6ff9b1a8e7a4849e72d691fddbc93a5b09
protected ChannelCollectionBase(
int lastValidIndex,
bool fixedElementSize
)
Protected Sub New (
lastValidIndex As Integer,
fixedElementSize As Boolean
)
protected:
ChannelCollectionBase(
int lastValidIndex,
bool fixedElementSize
)
Gemstone.PhasorProtocols.ChannelCollectionBase = function(lastValidIndex, fixedElementSize);
Parameters
- lastValidIndex Int32
- Last valid index for the collection (i.e., maximum count - 1).
- fixedElementSize Boolean
- Flag that indicates if collections elements have a fixed size.
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.