'Declaration
<NotNullAttribute()> Public Overloads Shared Function Create(Of TValue)( _ ByVal serverDescriptor As ServerDescriptor, _ ByVal itemDescriptor As DAItemDescriptor _ ) As DAWriteItemValueObserver(Of TValue)
'Usage
Dim serverDescriptor As ServerDescriptor Dim itemDescriptor As DAItemDescriptor Dim value As DAWriteItemValueObserver(Of TValue) value = DAWriteItemValueObserver.Create(Of TValue)(serverDescriptor, itemDescriptor)
[NotNull()] public static DAWriteItemValueObserver<TValue> Create<TValue>( ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor )
[NotNull()] public: static DAWriteItemValueObserver<TValue^>^ Creategeneric<typename TValue> ( ServerDescriptor^ serverDescriptor, DAItemDescriptor^ itemDescriptor )
Parameters
- serverDescriptor
- The OPC server involved in the operation.
- itemDescriptor
- The OPC item to be written into.
Type Parameters
- TValue
Return Value
Returns an observer that writes values into the given OPC item.