|
-
May 12th, 2003, 02:59 PM
#1
Thread Starter
Fanatic Member
Property Access??
Is there anyway to specify access to a property only from within itself (Friend) and also only from AnotherDll.dll?
I would rather not have the property public, as it should not be used by all.
Thanks.
-
May 12th, 2003, 03:50 PM
#2
I wonder how many charact
I don't think so... other than passing a custom security struct... in which the property checks the value... and would refuse to set the private member if the securityvalue wasn't right....
I assume the dll is one you don't have the source code to...?
-
May 12th, 2003, 04:04 PM
#3
If the second one inherits the first you can use Protected, otherwise I don't think so.
-
May 12th, 2003, 04:13 PM
#4
Sleep mode
Well...
Constructors can do much similar way as Properties .
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
|