DocumentConnect(Int32) Method |
返回用户文档首页
连接STC主程序
Namespace: LoongCAD.STC.FriendlyAssembly: LoongCAD.STC.Friendly (in LoongCAD.STC.Friendly.dll) Version: 2025.0.9.14 (2025.0.9.14)
Syntaxpublic bool Connect(
int msTimeout
)
Parameters
- msTimeout Int32
- 超时时间(毫秒), 若超时未连接成功,则抛出TimeoutException异常
Return Value
Boolean连接是否成功
Remarks仅用于在独立程序中与STC进行交互
See Also