'Declaration
<ExtensionAttribute()> Public Overloads Shared Function GetPropertyValueDecimal( _ ByVal client As IEasyDAClient, _ ByVal serverDescriptor As ServerDescriptor, _ ByVal nodeDescriptor As DANodeDescriptor, _ ByVal propertyDescriptor As DAPropertyDescriptor _ ) As Decimal
'Usage
Dim client As IEasyDAClient Dim serverDescriptor As ServerDescriptor Dim nodeDescriptor As DANodeDescriptor Dim propertyDescriptor As DAPropertyDescriptor Dim value As Decimal value = IEasyDAClientExtension2.GetPropertyValueDecimal(client, serverDescriptor, nodeDescriptor, propertyDescriptor)
[Extension()] public static decimal GetPropertyValueDecimal( IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor nodeDescriptor, DAPropertyDescriptor propertyDescriptor )
[Extension()] public: static decimal GetPropertyValueDecimal( IEasyDAClient^ client, ServerDescriptor^ serverDescriptor, DANodeDescriptor^ nodeDescriptor, DAPropertyDescriptor^ propertyDescriptor )
Parameters
- client
- The client object that will perform the operation.
- serverDescriptor
- The OPC server involved in the operation.
- nodeDescriptor
- The descriptor of the OPC node involved in the operation.
- propertyDescriptor
- The property descriptor of the OPC property being obtained.
Return Value
If successful, the function returns the actual value of the OPC property requested, converted to a type indicated by the method name.