<FileAccess> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » FileAccess

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32EnableGenericExecuteEnables or disables GENERIC_EXECUTE. Please see the MSDN "Generic Access Rights" documentation for more information.
int32EnableGenericReadEnables or disables GENERIC_READ. Please see the MSDN "Generic Access Rights" documentation for more information.
int32EnableGenericWriteEnables or disables GENERIC_WRITE. Please see the MSDN "Generic Access Rights" documentation for more information.
int32GenericReadSets the GENERIC_READ to true or false. Please see MSDN documentation for more information.
int32GenericWriteSets the GENERIC_WRITE to true or false. Please see MSDN documentation for more information.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
int32BinarySets the IO mode to Binary or returns the current IO mode.
int32DispositionSets the file disposition, which determines what action is taken if the file does not exist. Please refer to MSDN documentation on CreateFile() for a description of these options. Options are: CREATE_NEW, CREATE_ALWAYS, OPEN_EXISTING, OPEN_ALWAYS, and TRUNCATE_EXISTING.
int32FileAttributeNormalSets the file attribute to FILE_ATTRIBUTE_NORMAL. This explicitly sets no custom attributes. Please see the MSDN documentation for this option.
int32FileAttributeReadOnlySets the file attribute to FILE_ATTRIBUTE_READONLY. Please see the MSDN documentation for this option.
int32FileAttributeTemporarySets the file attribute to FILE_ATTRIBUTE_TEMPORARY. Please see the MSDN documentation for this option.
int32FileShareDeleteEnables subsequent open operations on a file or device to request delete access. Please see MSDN CreateFile documentation for more information.
int32FileShareReadEnables subsequent open operations on a file or device to request read access. Please see MSDN CreateFile documentation for more information.
int32FileShareWriteEnables subsequent open operations on a file or device to request write access. Please see MSDN CreateFile documentation for more information.
int32TextSets the IO mode to Text or returns the current IO mode.
int32TextDataSets the IO mode to TextData or returns the current IO mode.