-
Param's for Subroutines
Maybe I'm just missing something, but I want to know the WHY behind the use
of the two param's that I've seen on all the Subroutines for ASP+ so far,
example:
Sub Page_Load(Source as Object, E as EventArgs)
I assume that this is used somewhere behind the scenes by the runtime or
something, but I haven't been able to track down the where and why yet. Any
clues to the right direction? Am I just missing the section in the SDK that
talks about it??
Thanks,
Aaron Montgomery
-
Re: Param's for Subroutines
These are events for all intents and purposes. When the event is raised
they want to give you access to information about the event. That is what
the two args are for. Your own personal subroutines need not include them.
"Aaron Montgomery" <aaron.montgomery@covault.com> wrote in message
news:39944ebb$1@news.devx.com...
> Maybe I'm just missing something, but I want to know the WHY behind the
use
> of the two param's that I've seen on all the Subroutines for ASP+ so far,
> example:
>
> Sub Page_Load(Source as Object, E as EventArgs)
>
> I assume that this is used somewhere behind the scenes by the runtime or
> something, but I haven't been able to track down the where and why yet.
Any
> clues to the right direction? Am I just missing the section in the SDK
that
> talks about it??
>
> Thanks,
> Aaron Montgomery
>
>
-
Re: Param's for Subroutines
Launch this: (The 'Your path may be different. bla bla' caveat applies, as usual.)
"C:\Program Files\NGWSSDK\Docs\sdkstart.chm"
Read this:
NGWS SDK Developer Specifications \ Class Library Design Guidelines
What you are seeing is the result of (but not limited to) these 2 documents:
1. Naming Guidelines \ Class and Class members.
2. Class Members \ Event Usage Guidelines.
Keep Smilin'
Ed Stegman
"Chris Kinsman" <ckinsman@devx.com> wrote in message news:399580c6$1@news.devx.com...
> These are events for all intents and purposes. When the event is raised
> they want to give you access to information about the event. That is what
> the two args are for. Your own personal subroutines need not include them.
>
>
>
> "Aaron Montgomery" <aaron.montgomery@covault.com> wrote in message
> news:39944ebb$1@news.devx.com...
> > Maybe I'm just missing something, but I want to know the WHY behind the
> use
> > of the two param's that I've seen on all the Subroutines for ASP+ so far,
> > example:
> >
> > Sub Page_Load(Source as Object, E as EventArgs)
> >
> > I assume that this is used somewhere behind the scenes by the runtime or
> > something, but I haven't been able to track down the where and why yet.
> Any
> > clues to the right direction? Am I just missing the section in the SDK
> that
> > talks about it??
> >
> > Thanks,
> > Aaron Montgomery
> >
> >
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks