The information in this article applies to:
SYMPTOMSAccessing a property that does not exist in a class still fires the Access method. CAUSEThis behavior permits the design of classes that support the addition of custom properties at run-time using the AddProperty method. For example, the following class definition adds a new property to the class at run-time when a non-existent property is accessed:
STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce BehaviorRun the following code:
The Access method fires before you receive the invalid property error.
Additional query words: kbVFp600 kbOOP
Keywords : |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |