QuickOPC User's Guide and Reference
CreateString Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPublisherId Class : CreateString Method
A string identifier of the publisher Id.
Creates a publisher Id with given string identifier.
Syntax
'Declaration
 
<NotNullAttribute()>
<PureAttribute()>
Public Shared Function CreateString( _
   ByVal stringIdentifier As String _
) As UAPublisherId
'Usage
 
Dim stringIdentifier As String
Dim value As UAPublisherId
 
value = UAPublisherId.CreateString(stringIdentifier)
[NotNull()]
[Pure()]
public static UAPublisherId CreateString( 
   string stringIdentifier
)
[NotNull()]
[Pure()]
public:
static UAPublisherId^ CreateString( 
   String^ stringIdentifier
) 

Parameters

stringIdentifier
A string identifier of the publisher Id.

Return Value

Returns a string publisher Id with the specified identifier.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also