The CContentFile type exposes the following members.

Constructors

  NameDescription
Public methodCContentFile(IiMISUser, CContent)
Constructor for a new Content File.
Public methodCContentFile(IiMISUser, CContent, Decimal)
Constructor to instantiate an existing Content File.

Methods

  NameDescription
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodDelete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetIDFromFileName
Retrieves the requested CContentFile object
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
Makes sure that all of the property data passes the iMIS business rules.
(Inherited from iboBase.)

Fields

  NameDescription
Protected fieldmEditStatus
The edit status (unchanged, modified, etc) of this record.
(Inherited from iboBase.)
Protected fieldmErrors
The current list of errors encountered by this class instance during processing.
(Inherited from iboBase.)

Properties

  NameDescription
Public propertyContent
Gets CContent instance to which CContentFile belongs to.
Public propertyContentFileId
Gets ID of CContentFile.
Public propertyContentId
Gets the unique identifier for the parent CContent
Public propertyDescription
Gets or sets description of the file.
Public propertyDisplayPublishLocation
Gets the relative location of the published file.
Public propertyEditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Public propertyErrors
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.)
Public propertyErrorsCount
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.)
Public propertyFileName
Gets or sets the file name.
Public propertyFileTypeCode
Gets or sets file type code.
Public propertyFileTypeDesc
Gets file type description.
Public propertyMimeType
Gets or sets mime type of the file.
Public propertyOpenInNewWindow
Gets a boolean value indicating whether to open this file in a new window.
Public propertyPublishLocation
Gets or sets the location of the published version of the file.
Public propertyPublishRootPath
Gets the root path of the published file.
Public propertySourceLocation
Gets or sets the location of the source file.

See Also