'Declaration
<CanBeNullAttribute()> Function FindWriterGroupElement( _ ByVal pubSubConnectionName As String, _ ByVal writerGroupName As String _ ) As UAWriterGroupElement
'Usage
Dim instance As _UAReadOnlyPubSubConfiguration Dim pubSubConnectionName As String Dim writerGroupName As String Dim value As UAWriterGroupElement value = instance.FindWriterGroupElement(pubSubConnectionName, writerGroupName)
[CanBeNull()] UAWriterGroupElement FindWriterGroupElement( string pubSubConnectionName, string writerGroupName )
[CanBeNull()] UAWriterGroupElement^ FindWriterGroupElement( String^ pubSubConnectionName, String^ writerGroupName )
Parameters
- pubSubConnectionName
- The name of the PubSub connection.
The value of this parameter can be
null
(Nothing
in Visual Basic). - writerGroupName
- The name of the writer group.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
null
otherwise.
Because the OpcLabs.EasyOpc.UA.PubSub.Configuration.UAWriterGroupElement has an implicit conversion to OpcLabs.EasyOpc.UA.PubSub.UAWriterGroupDescriptor, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OpcLabs.EasyOpc.UA.PubSub.Configuration.UAWriterGroupElement (from PubSub configuration) in any place where OpcLabs.EasyOpc.UA.PubSub.UAWriterGroupDescriptor is expected as input, and the corresponding OPC UA PubSub writer group descriptor will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can convert a OpcLabs.EasyOpc.UA.PubSub.Configuration.UAWriterGroupElement to OpcLabs.EasyOpc.UA.PubSub.UAWriterGroupDescriptor using the ToUAWriterGroupDescriptor static method instead.
This method can return null
(Nothing
in Visual Basic).