STK UtilSend comments on this topic.
IAgExecMultiCmdResult Interface

Description

Collection of objects returned by the ExecuteMultipleCommands.

Public Properties

Public Property CountNumber of elements contained in the collection.
Public Property ItemGets the element at the specified index (0-based).

CoClasses that Implement IAgExecMultiCmdResult

Example

Extract data from a multiple Connect result
[C#]
for (int i = 0; i < result.Count; i++)
{
    if (result[i].IsSucceeded)
    {
        for (int j = 0; j < result[i].Count; j++)
        {
            Console.WriteLine(result[j]);
        }
    }
}
Extract data from a multiple Connect result
[Visual Basic .NET]
Dim i As Integer = 0
While i < result.Count
	If result(i).IsSucceeded Then
		Dim j As Integer = 0
		While j < result(i).Count
			Console.WriteLine(result(j))
			System.Math.Max(System.Threading.Interlocked.Increment(j),j - 1)
		End While
	End If
	System.Math.Max(System.Threading.Interlocked.Increment(i),i - 1)
End While
© 2024 Analytical Graphics, Inc. All Rights Reserved.