|
PhasorDefinitionCollection(Int32, Boolean) Constructor
|
Namespace: GSF.PhasorProtocolsAssembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.218-beta
Syntax public PhasorDefinitionCollection(
int lastValidIndex,
bool fixedElementSize
)
Public Sub New (
lastValidIndex As Integer,
fixedElementSize As Boolean
)
public:
PhasorDefinitionCollection(
int lastValidIndex,
bool fixedElementSize
)
new :
lastValidIndex : int *
fixedElementSize : bool -> PhasorDefinitionCollection
GSF.PhasorProtocols.PhasorDefinitionCollection = function(lastValidIndex, fixedElementSize);
View SourceParameters
- 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.
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.
See Also