Get frist element of QueueItem?

Without specifying the SpecificContent for a QueueItem is it possible to retrieve the first element of it?

Like I don’t care about it’s structure, which element it is, only I want to see something fast from the TransactionItem.

1 Like

Hi @obeliksz

I do not think you can do that, the reason is that when you add items to a queue you pass specific arguments that can be retrieved by the same specific argument names.

Thanks,
Prankur

2 Likes

If tra.SpecificContent.Any Then
MsgBox(tra.SpecificContent.First().Key & “:” & tra.SpecificContent.First().Value.ToString)
End If

Would’nt this work?

Cheers

2 Likes

That is the one, I think I mis read the question there.

This is the perfect solution.

Thanks,
Prankur

2 Likes

Happens :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.