| Visual Basic (Declaration) | |
|---|---|
Public Function SendSubOption( _ ByVal code As OptionCode, _ ByVal subOption() As Byte _ ) As Byte() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Telnet Dim code As OptionCode Dim subOption() As Byte Dim value() As Byte value = instance.SendSubOption(code, subOption) | |
| C# | |
|---|---|
public byte[] SendSubOption( OptionCode code, byte[] subOption ) | |
| Managed Extensions for C++ | |
|---|---|
public: byte[]* SendSubOption( OptionCode code, byte[]* subOption ) | |
| C++/CLI | |
|---|---|
public: array<byte>^ SendSubOption( OptionCode code, array<byte>^ subOption ) | |
Parameters
- code
- The option pertaining to the suboption.
- subOption
- The suboption to negotiate.
Return Value
The bytes sent to the remote host.Option megotiation typically occurs automatically by the Telnet component. Suboption data is sent by the Telnet component when a new option (containing the appropriate suboption data) is added to either ClientOptions or ServerOptions. Only use this method if automatic option negotiation is not used.
Target Platforms: Microsoft .NET Framework 2.0