QuickOPC User's Guide and Reference
DecimalValue Property (EnumerationData)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > EnumerationData Class : DecimalValue Property
The current enumeration value. A decimal.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DefaultValueAttribute(System.Decimal, "0")>
<DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Property DecimalValue As Decimal
'Usage
 
Dim instance As EnumerationData
Dim value As Decimal
 
instance.DecimalValue = value
 
value = instance.DecimalValue
[Browsable(false)]
[DefaultValue(System.Decimal, "0")]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public decimal DecimalValue {get; set;}
[Browsable(false)]
[DefaultValue(System.Decimal, "0")]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public:
property decimal DecimalValue {
   decimal get();
   void set (    decimal value);
}
Remarks

Intended for certain COM callers. You can simply use the Value property in .NET instead.

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