Checks if there are any TelnetTask bound to this TelnetScript.
Namespace: Jscape.TelnetAssembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0
Syntax
C# |
---|
public bool IsEmpty() |
Visual Basic |
---|
Public Function IsEmpty As Boolean |
Visual C++ |
---|
public: bool IsEmpty() |
Return Value
True if there are TelnetTask, false otherwise.
Examples
To check if a task is bound to a script, invoke the IsEmpty method.
CopyIsEmpty
CopyIsEmpty

// Check if script is complete. if (script.IsEmpty()) { // other process }

' Check if script is complete. If (script.IsEmpty()) Then ' other process End If