Connectivity Software User's Guide and Reference
UriToDisplayName(Uri) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UATransportProfileUriStrings Class > UriToDisplayName Method : UriToDisplayName(Uri) Method
The URI of the transport profile.

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

Converts transport profile URI to transport profile display name, passing in a System.Uri object.
Syntax
'Declaration
 
<JetBrains.Annotations.NotNullAttribute()>
Public Overloads Shared Function UriToDisplayName( _
   ByVal transportProfileUri As Uri _
) As String
'Usage
 
Dim transportProfileUri As Uri
Dim value As String
 
value = UATransportProfileUriStrings.UriToDisplayName(transportProfileUri)
[JetBrains.Annotations.NotNull()]
public static string UriToDisplayName( 
   Uri transportProfileUri
)
[JetBrains.Annotations.NotNull()]
public:
static String^ UriToDisplayName( 
   Uri^ transportProfileUri
) 

Parameters

transportProfileUri
The URI of the transport profile.

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

Return Value

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