'Declaration
<CanBeNullAttribute()> Function FindWriterGroupElement( _ ByVal pubSubConnectionName As String, _ ByVal writerGroupName As String _ ) As UAWriterGroupElement
'Usage
Dim instance As IUAReadOnlyPubSubConfiguration 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 cannot be
null
(Nothing
in Visual Basic). - writerGroupName
- The name of the writer group.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
null
otherwise.
Because the 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 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 UAWriterGroupElement to OpcLabs.EasyOpc.UA.PubSub.UAWriterGroupDescriptor using the UAWriterGroupElement.ToUAWriterGroupDescriptor static method instead.
This method can return null
(Nothing
in Visual Basic).