FileSpec.Extension Property (Typed) | |
A string representing the extension defined to this file specification.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSystemClasses (in XSharp.VOSystemClasses.dll) Version: 2.19
Syntax VIRTUAL PROPERTY Extension AS STRING GET SET
public virtual string Extension { get; set; }
Request Example
View SourceProperty Value
Type:
StringA 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 |
---|
Assigning just a single period as extension explicitly specifies an "empty" extension. |
See Also