SaveAsClass Method

Applies To   See Also

Saves an instance of an object as a class definition in a class library.

Syntax

Object.SaveAsClass(ClassLibName, ClassName [, Description])

Arguments

ClassLibName

Specifies the name of the .vcx file in which to store the class definition.

ClassName

Specifies the name assigned to the class.

Description

Specifies the optional description for the class.

Remarks

When you use the SaveAsClass method, all the properties, events, and methods associated with the object are stored as part of the class definition.