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