Gets the name of the mensioned application.
Namespace: EAL.Interfaces.LogicAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
| C# |
|---|
int GetNumberOfApplications() |
| Visual Basic |
|---|
Function GetNumberOfApplications As Integer |
| Visual C++ |
|---|
int GetNumberOfApplications() |
Return Value
Type:
Int32Number of applications
Examples
| | Copy |
|---|
private static void Method1()
{
using (IEALConnection ealConnection = new EALConnection())
{
ealConnection.Connect("192.168.0.10");
IApplication app = ealConnection.Logic.GetApplication(0);
int noOfApp = app.GetNumberOfApplications(0);
Console.WriteLine("Number of application(s):" + noOfApp.ToString());
}
} |
See Also