YRC1000TcpNetDeleteAsync 方法 |
删除指定的程序。指定「*」 时, 删除当前登录的所有程序。指定「 删除程序名称」 时,仅删除指定的程序。
Delete the specified program. When "*" is specified, all currently registered programs will be deleted.
When "delete program name" is specified, only the specified program will be deleted.
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> DeleteAsync(
string programName = null
)
Public Function DeleteAsync (
Optional programName As String = Nothing
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ DeleteAsync(
String^ programName = nullptr
)
member DeleteAsync :
?programName : string
(* Defaults:
let _programName = defaultArg programName null
*)
-> Task<OperateResult>
参数
- programName (Optional)
- 类型:SystemString
删除的程序名称,如果设置为「*」时,删除当前登录的所有程序。
返回值
类型:
TaskOperateResult是否删除成功
参见