Create a .NET Framework collection object (list)

brianbernard191brianbernard191 Member Posts: 19
edited 2016-10-05 in NAV Three Tier
I tried creating a local variable of data type DotNet. But I couldn't find sub type "list" from the drop down.

What I tried to do is similar to the code given below
blockedCustomerList := blockedCustomerList.list();
blockedCustomerList.Add('Customer 1');
FOREACH customer IN blockedCustomerList DO
    BEGIN
        MESSAGE(FORMAT(customer));
    END;

Somebody please help me out to pull through this.

Thank you :smile:

Comments

Sign In or Register to comment.