'Declaration
<JetBrains.Annotations.NotNullAttribute()> Public Overloads Shared Function GetSingleProtocolName( _ ByVal transportProfileUriString As String _ ) As String
'Usage
Dim transportProfileUriString As String Dim value As String value = UATransportProfileUriStrings.GetSingleProtocolName(transportProfileUriString)
[JetBrains.Annotations.NotNull()] public static string GetSingleProtocolName( string transportProfileUriString )
[JetBrains.Annotations.NotNull()] public: static String^ GetSingleProtocolName( String^ transportProfileUriString )
Parameters
- transportProfileUriString
- The transport profile URI string for which the protocol name should be obtained.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
If the transport profile given by transportProfileUriString uses a single protocol, returns the name of this protocol. Otherwise, returns an empty string.
This method never returns null
(Nothing
in Visual Basic).