OPC Studio User's Guide and Reference
DisplayNameToUriString Method (UAPubSubTransportProfileUriStrings)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Engine Namespace > UAPubSubTransportProfileUriStrings Class : DisplayNameToUriString Method
The display name of the PubSub transport profile.

The value of this parameter cannot be null (Nothing in Visual Basic).

Converts PubSub transport profile display name to PubSub transport profile URI.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function DisplayNameToUriString( _
   ByVal displayName As String _
) As String
'Usage
 
Dim displayName As String
Dim value As String
 
value = UAPubSubTransportProfileUriStrings.DisplayNameToUriString(displayName)
[NotNull()]
public static string DisplayNameToUriString( 
   string displayName
)
[NotNull()]
public:
static String^ DisplayNameToUriString( 
   String^ displayName
) 

Parameters

displayName
The display name of the PubSub transport profile.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

Returns the PubSub transport profile URI that corresponds to the given display name.

This method never returns null (Nothing in Visual Basic).

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