This interface is available on the AMDocument object and AMFolder object. It is helpful when using collections of documents and folders, such as AMFolder.Elements(EFF_ALL).
Name | Description |
---|---|
Reserved. See “About reserved objects, methods, and properties.” |
|
True if it is possible to delete the document |
|
Creates a copy of the document or folder (will not cause events to occur) |
|
The date/time the document or folder was created |
|
The name of the person who created the document or folder |
|
The file/folder name |
|
Windows-defined file type |
|
Object ID |
|
Path the document/folder was imported from |
|
True for folders |
|
The date the document was last edited |
|
The user who last edited the document |
|
Moves the document or folder to another folder (does not cause any events to occur) |
|
Internal name |
|
Reference to the parent folder object (AMFolder object) |
|
The path relative form the root of the vault |
|
Reference to the current transaction (AMDocumentRepository object) |
|
The file size |
Remarks
The AMDocument and AMFolder interfaces are derived from IAMFSObject, so they contain all the same methods and properties.
(missing or bad snippet)Example
Dim fso as IAMFSObject
Dim doc as AMDocument
Dim fld as AMFolder
For Each fso in Folder.Elements (EFF_ALL)
If fso.IsFolder Then
Set fld = fso ' Add code for folders
Else
Set doc = fso ' Add code for documents
End If
Next