DataCellCollection(Int32, Boolean) Constructor
Namespace: Gemstone.PhasorProtocolsAssembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.183 -- Release Build+673491a1afa103b255aa8db4f2bc6d4e220a63e0
public DataCellCollection(
int lastValidIndex,
bool constantCellLength
)
Public Sub New (
lastValidIndex As Integer,
constantCellLength As Boolean
)
public:
DataCellCollection(
int lastValidIndex,
bool constantCellLength
)
Gemstone.PhasorProtocols.DataCellCollection = function(lastValidIndex, 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 IDataCell elements in this DataCellCollection are constant.
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.