OPC Studio User's Guide and Reference
FirstTokenIdDouble Property (_SecurityKeysInfo)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.KeyManagement.ComTypes Namespace > _SecurityKeysInfo Interface : FirstTokenIdDouble Property
The security token Id of the first key in the array of keys, expressed in Double type.
Syntax
'Declaration
 
<ValueLimitsAttribute(-9.22337203685478E+18, 9.22337203685478E+18)>
Property FirstTokenIdDouble As Double
'Usage
 
Dim instance As _SecurityKeysInfo
Dim value As Double
 
instance.FirstTokenIdDouble = value
 
value = instance.FirstTokenIdDouble
[ValueLimits(-9.22337203685478E+18, 9.22337203685478E+18)]
double FirstTokenIdDouble {get; set;}
[ValueLimits(-9.22337203685478E+18, 9.22337203685478E+18)]
property double FirstTokenIdDouble {
   double get();
   void set (    double 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

Caution: For full representation of FirstTokenId as System.Int64, the precision of System.Double is not sufficient. It is, however, sufficient for most commonly used token Id range, which corresponds to System.UInt32.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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