Connectivity Software User's Guide and Reference
Sequence Property



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace > SparkplugMetadata Class : Sequence Property
An integer representing the sequence number of the part in a multipart metric.
Syntax
'Declaration
 
<ValueLimitsAttribute(0, 9223372036854775807)>
Public Property Sequence As Long
'Usage
 
Dim instance As SparkplugMetadata
Dim value As Long
 
instance.Sequence = value
 
value = instance.Sequence
[ValueLimits(0, 9223372036854775807)]
public long Sequence {get; set;}
[ValueLimits(0, 9223372036854775807)]
public:
property int64 Sequence {
   int64 get();
   void set (    int64 value);
}

Property Value

The default value of this property is 0.

Exceptions
ExceptionDescription

The value of an argument is outside the allowable range of values as defined by the invoked method.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

Only applicable with multipart metrics.

 

Sparkplug is a trademark of Eclipse Foundation, Inc. "MQTT" is a trademark of the OASIS Open standards consortium. Other related terms are trademarks of their respective owners. Any use of these terms on this site is for descriptive purposes only and does not imply any sponsorship, endorsement or affiliation.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also