Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String to reference static object
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01439141
Message ID:
01439150
Vues:
39
Silly question, completely unrelated to your question. What does this line do?

>
List<RoutedUICommands>() SupportedCommands;
>SupportedCommands.Add(LLCommands.LockDown);So far, so good. But how can I achieve the add given only a string (e.g "LLCommands.LockDown") ?

Reflection via GetType/InvokeMember?
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform