'Declaration
<ExtensionAttribute()> Public Overloads Shared Function ReadItemValueDateTime( _ ByVal client As IEasyDAClient, _ ByVal serverDescriptor As ServerDescriptor, _ ByVal nodeDescriptor As DANodeDescriptor, _ ByVal readParameters As DAReadParameters _ ) As Date
'Usage
Dim client As IEasyDAClient Dim serverDescriptor As ServerDescriptor Dim nodeDescriptor As DANodeDescriptor Dim readParameters As DAReadParameters Dim value As Date value = IEasyDAClientExtension2.ReadItemValueDateTime(client, serverDescriptor, nodeDescriptor, readParameters)
[Extension()] public static DateTime ReadItemValueDateTime( IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor nodeDescriptor, DAReadParameters readParameters )
[Extension()] public: static DateTime ReadItemValueDateTime( IEasyDAClient^ client, ServerDescriptor^ serverDescriptor, DANodeDescriptor^ nodeDescriptor, DAReadParameters^ readParameters )
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.
- readParameters
- The read parameters (such as data source or value age).
Return Value
Returns a value of the OPC item, converted to a type indicated by the method name.