NetPlainSocketSendString 方法 |
发送字符串到服务器上去,编码使用的是属性
Encoding 来指定
Send the string to the server, and the Encoding is specified using the attribute
Encoding
命名空间:
HslCommunication.Enthernet
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
语法public OperateResult SendString(
string text
)
Public Function SendString (
text As String
) As OperateResult
public:
OperateResult^ SendString(
String^ text
)
member SendString :
text : string -> OperateResult
参数
- text
- 类型:SystemString
文本信息
返回值
类型:
OperateResult发送是否成功
参见