||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer
Makes an existing property the default value of an object.
DISP_DEFVALUE(theClass, pszName )
Name of the class.
External name of the property that represents the "value" of the object.
Using a default value can make programming your automation object simpler for Visual Basic applications.
The "default value" of your object is the property that is retrieved or set when a reference to an object does not specify a property or member function.