InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / IConnectionSettingsComSerialPort Interface / SerialPort Property


In This Topic
    SerialPort Property
    In This Topic
    Gets or sets the COM serial port number.
    Syntax
    'Declaration
     
    
    Property SerialPort As Integer
    'Usage
     
    
    Dim instance As IConnectionSettingsComSerialPort
    Dim value As Integer
     
    instance.SerialPort = value
     
    value = instance.SerialPort
    int SerialPort {get; set;}

    Property Value

    This value cannot be changed if the connection is open.
    Remarks
    Setting this property resets all connection settings for this connection type to their default values.
    See Also