Export (0) Print
Expand All
Expand Minimize

DODEFAULT( ) Function

Visual Studio .NET 2003

Executes, from within a subclass, the parent class event or method of the same name.

DODEFAULT([eParameter1 [, eParameter2] ])

Return Values

Character, Numeric, Currency, Date, DateTime, Logical, or Memo

Parameters

eParameter1 [, eParameter2]
Specifies parameters that are passed to the parent class event or method.

Remarks

DODEFAULT( ) executes, from within a subclass, the parent class event or method of the same name. For example, if DODEFAULT( ) is placed in the Click event of a subclass, the Click event of the parent class is executed. The :: scope resolution operator, unlike DODEFAULT( ), executes a parent class event or method of a different name.

The value DODEFAULT( ) returns is determined by the return value of the event or method.

Note that DODEFAULT( ) can be placed only within an event or method.

See Also

:: Scope Resolution Operator | ParentClass Property

Show:
© 2014 Microsoft