Description

Saves a Kernel to a file.

Return Type

None  

Syntax

object.Save FileName

The Save Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McKernel.
FileNameRequired. A String value.

BSTR : Path and name of the file to write to.

Remarks

For a kernel containing several definitions (Count > 1), this method saves all the definitions.

Exceptions

E_INVALIDARG, STG_E_WRITEFAULT