Matches a module name to the corresponding port. For example, 'xmap' results in a return value of 50010,
which represents the default port number, commonly used for XMap.
Namespace:
Ptv.XServer.Controls.Map.Tools
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static int Port(
string moduleName
)
Public Shared Function Port (
moduleName As String
) As Integer
public:
static int Port(
String^ moduleName
)
static member Port :
moduleName : string -> int
Parameters
- moduleName
- Type: SystemString
Name of the mode, for example 'XMap' or 'XRoute'.
Return Value
Type:
Int32Default port number of the module specified in
moduleNameSee Also