Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enum on EventLogEntryType
Message
From
18/08/2010 13:52:35
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01477075
Message ID:
01477115
Views:
28
>Not clear. What/who is 'the client' ? Where is this being typed?

I have this class:
Namespace Framework

    Public Class EventLogManager

        Public cLogName As String = ""
        Public cMessage As String = ""
        Public cSource As String = ""
        Public nEventID As Integer = 0
        Public nType As EventLogEntryType = EventLogEntryType.Information
        Private oApp As Framework.App
        Private oProcess As Framework.LXProcess
As you can see, there are some public properties in there. You can also see that nType is defined as EvenLogEntryType. Now, the client, which is the application that is instantiating this class, is defining the properties. So far so good, but when comes time to define the nType property, I would like the intellisense to kick in and show the available choices in EvenLogEntryType. The default here is Information. But, there is also Error and so on. So, when I type this:
        Dim loEventLog As Framework.Framework.EventLogManager = New Framework.Framework.EventLogManager(oApp)
        loEventLog.nType = EventLogEntryType.Information
I would like loEvenLog.nType to show me a list of choices so I won't have to remember to enter EvenLogEntryType to get them.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform