|
-
March 5th, 2013, 10:09 AM
#2
Re: Class File - Timing Issue?
Here is the answer I got from another forum:
You will only see non-static properties/functions etc on an instance of the class. ie;
clsIncidFrom myClass = new clsIncidFrom();
myClass.NonStaticProperty = "hello";
myClass.NonStaticMethod();Whereas static properties and methods are on the class type itself, but they are shared across all users and are considered global. Each user doesn't have their own copy of the data;
clsIncidFrom.StaticProperty = "hello";
clsIncidFrom.StaticMethod();
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
|
Click Here to Expand Forum to Full Width
|