TransportTypeExGetDefaultPort Method |
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static int GetDefaultPort(
this TransportType transportType
)
<ExtensionAttribute>
Public Shared Function GetDefaultPort (
transportType As TransportType
) As Integer
public:
[ExtensionAttribute]
static int GetDefaultPort(
TransportType transportType
)
[<ExtensionAttribute>]
static member GetDefaultPort :
transportType : TransportType -> int
Parameters
- transportType
- Type: Ozeki.NetworkTransportType
Return Value
Type:
Int32Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
TransportType. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also