Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DISP_DEFVALUE
TRY
Collapse the table of content
Expand the table of content

DISP_DEFVALUE 

Makes an existing property the default value of an object.


DISP_DEFVALUE(theClass, pszName )

Parameters

theClass

Name of the class.

pszName

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.

Header: afxdisp.h

Community Additions

ADD
Show:
© 2015 Microsoft