Click or drag to resize

FileSpec.Extension Property

X#
A string representing the extension defined to this file specification.

Namespace:  VO
Assembly:  VOSystemClasses (in VOSystemClasses.dll) Version: 2.21
Syntax
 VIRTUAL PROPERTY Extension AS USUAL GET SET 
Request Example View Source

Property Value

Type: Usual
A string representing the extension defined to this file specification.
Remarks
A string representing the extension defined to this file specification. The extension may have been assigned explicitly or as part of a longer file specification (assigned either as an instantiation parameter or as part of the file name or full path). When accessing FileSpec:Extension, the requested extension is returned with a leading period. When assigning FileSpec:Extension, you can specify an extension with or without a leading period. Assigning a NULL_STRING (or NIL) to the extension means that the extension is unknown or unspecified; the various functions and objects that use the file specification to locate the file uses whatever default extension applies to them.
Tip Tip
Assigning just a single period as extension explicitly specifies an "empty" extension.
See Also