Print Page | Close Window

Protected

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=7298
Printed Date: 29 March 2026 at 4:23am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Protected
Posted By: Boecky
Subject: Protected
Date Posted: 15 November 2003 at 2:52pm

Protected WithEvents Label1 As System.Web.UI.WebControls.Label

It's in every page I know, but what exactly does the 'Protected' and the 'WithEvents' mean?




Replies:
Posted By: Mart
Date Posted: 15 November 2003 at 2:57pm
WithEvents means that it can handle events e.g. Label.Click Protected is self explanitory, it stops you from going Dim label1 as string etc.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net