Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enum on EventLogEntryType
Message
De
18/08/2010 13:43:43
 
 
À
18/08/2010 12:02:16
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01477075
Message ID:
01477109
Vues:
30
>I have a public property defined as this:
>
>
>        Public nType As EventLogEntryType = EventLogEntryType.Information
>
>
>Now, I would like the client to be able to benefit from an enum structure when defining the property so he won't have to know that he has to type EventLogEntryType so to obtain the available choices. Basically, when he types nType = something, I would like something to be intellisense to the list of choices.

Not clear. What/who is 'the client' ? Where is this being typed?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform