M-Files API 23.11.13135.0
SetFromFile Method
DefaultProperty Object : SetFromFile Method
The Windows file property to use.
True if lookup values should be treated as item IDs instead of display names.
True if a value list item should be added in case it is not found.
Description
Sets the FromFile data.
Syntax
Visual Basic
Public Sub SetFromFile( _
   ByVal FileProperty As MFFileProperty, _
   ByVal TreatLookupAsID As Boolean, _
   ByVal AddVLItemIfNotFound As Boolean _
) 
Parameters
FileProperty
ValueDescription
MFFilePropertyArchiveArchive attribute.
MFFilePropertyCreatedAtCreated at time.
MFFilePropertyDirectoryParent directory.
MFFilePropertyExtensionFile extension.
MFFilePropertyHiddenHidden attribute.
MFFilePropertyLastAccessedLast accessed time.
MFFilePropertyLastModifiedLast modified time.
MFFilePropertyNameFile name.
MFFilePropertyReadOnlyRead-only attribute.
MFFilePropertySizeFile size.
The Windows file property to use.
TreatLookupAsID
True if lookup values should be treated as item IDs instead of display names.
AddVLItemIfNotFound
True if a value list item should be added in case it is not found.
See Also

DefaultProperty Object  | DefaultProperty Members