Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically Add a Property...?
Message
De
15/12/2005 09:49:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01078195
Message ID:
01078233
Vues:
25
>Is there any way to dynamically add a property to a form or class during runtime in VB.Net. This ability is available in FoxPro, and I am currently converting an application from FoxPro to VB.Net. Unfortunatly there are several locations where this ability was used in FoxPro, and I need to mimic it in VB.Net. Any ideas?

Ben,
You might do that using Reflection.Emit TypeBuilder, PropertyBuilder and such classes but however I think is not worth the effort. Instead of properties you might create an arraylist that would hold your objects, no?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform