OPC Studio User's Guide and Reference
GetDataEncodingNames Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UATransportProfileUriStrings Class : GetDataEncodingNames Method
The transport profile URI string for which the data encoding names should be obtained.

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

Obtains data encoding names supported by a given transport profile URI.
Syntax
'Declaration
 
<IteratorStateMachineAttribute(OpcLabs.EasyOpc.UA.Engine.UATransportProfileUriStrings/d__10)> 
<NotNullAttribute()> 
Public Shared Function GetDataEncodingNames( _ 
   ByVal transportProfileUriString As String _ 
) As IEnumerable(Of String)
'Usage
 
Dim transportProfileUriString As String
Dim value As IEnumerable(Of String)
 
value = UATransportProfileUriStrings.GetDataEncodingNames(transportProfileUriString)
[IteratorStateMachine(OpcLabs.EasyOpc.UA.Engine.UATransportProfileUriStrings/d__10)] 
[NotNull()] 
public static IEnumerable<string> GetDataEncodingNames( 
   string transportProfileUriString 
)
[IteratorStateMachine(OpcLabs.EasyOpc.UA.Engine.UATransportProfileUriStrings/d__10)] 
[NotNull()] 
public: 
static IEnumerable<String^>^ GetDataEncodingNames( 
   String^ transportProfileUriString 
) 

Parameters

transportProfileUriString
The transport profile URI string for which the data encoding names should be obtained.

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

Return Value

Returns a sequence of data encoding names that the transport profile supports.

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