Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM INTEROP COLLECTIONS FROM C# TO VFP
Message
De
26/11/2009 08:41:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
COM INTEROP COLLECTIONS FROM C# TO VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01436645
Message ID:
01436645
Vues:
159
Hi folks,

I'm creating a component in C# to be used in VFP.
The basic operation is working fine, and VFP can see all the properties and methods.

Right now I need to know how I can create a very simple one dimension Collection object in C#, and make it accessible from VFP (I already managed to pass simple or multi dimensional arrays).

What class do I need to use for this purpose ?

I've tried several ways with no success, the simplest was the following:
using System.Collections;
ArrayList MyCollection = new ArrayList();
MyCollection.Add("Visual FoxPro");
MyCollection.Add("C#");
Can someone provide any insight regarding this?

Thanks in advance !

Regards,

Cesar
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform