Represents an event that occurs when a folder has its File method called to file a Containable object, for example, a Document or CustomObject, or when the File method is called to create a subfolder.

You can instantiate a FileEvent object in the following ways:

  • Call the GetInstance or FetchInstance method on the Factory.FileEvent class.
  • Retrieve the AuditedEvents property on a Folder object, and iterate the EventSet collection for instances of FileEvent objects.
  • Retrieve a FileEvent object from a FileEventSet collection.

The following tables list the members exposed by IFileEvent.

Public Properties

 NameDescription
Public propertyContainmentNameThe name of the contained object.

For a DynamicReferentialContainmentRelationship or ReferentialContainmentRelationship object, this is the name of the head object in the relationship. The default value is supplied as follows: If both the Name and MimeType property of the Head object are present and not zero length, the default value is Name.MimeType (where the MimeType value is a normalized representation). If the MimeType property value is not present, the default is the Name value of the Head object. If the Name value is not found; the Id value of the Head object is used.

The following characters are not allowed:

  • asterisk
  • forward slash
  • backslash
  • colon
  • question mark
  • double quote
  • less than
  • greater than
  • pipe
Note
If AutoUniqueName.AUTO_UNIQUE is set when the document is filed, the server attempts to make this containment name unique.

For an Event object generated from the IFileEvent and IUnfileEvent event classes, the value of this property is the name of the Containable object added or removed.

Top

See Also