'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Shared Function ProcessRead( _ ByVal dataVariable As UADataVariable, _ ByVal readFunction As Func(Of UAAttributeData) _ ) As UADataVariable
'Usage
Dim dataVariable As UADataVariable Dim readFunction As Func(Of UAAttributeData) Dim value As UADataVariable value = UADataVariableExtension.ProcessRead(dataVariable, readFunction)
[Extension()] [NotNull()] public static UADataVariable ProcessRead( UADataVariable dataVariable, Func<UAAttributeData> readFunction )
[Extension()] [NotNull()] public: static UADataVariable^ ProcessRead( UADataVariable^ dataVariable, Func<UAAttributeData^>^ readFunction )
Parameters
- dataVariable
- The data variable that will be modified and returned.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - readFunction
- The read function, i.e. the function that performs the read operation and returns the attribute data that will be returned to the caller of the OPC UA Read.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).