IDLitReader::IsA

Syntax | Return Value | Arguments | Keywords | Version History

The IDLitReader::IsA function method is called by the system to determine if the given file is of the type supported by this file reader. Often this is used to determine what file reader to use when opening a new file.

The default behavior provided by this method is to check the file extension on the provided file name with the extensions provided to this object during initialization.

When a new reader is implemented, the default behavior can be used, or the developer can provide further logic to determine if the provided file is the correct type.

Syntax

Result = Obj->[IDLitReader::]IsA(Filename)

Return Value

Returns a 1 if the reader supports this type of file, or a 0 if the reader does not support this type of file.

Arguments

Filename

A string representing of the filename, which is used to check and determine if the reader supports its format.

Keywords

None

Version History

6.0

Introduced

Syntax | Return Value | Arguments | Keywords | Version History | See Also