The Images and Documents module creates and works with the following kinds of data:
Library represents a container of files and implements the ILibrary interface. The items inside the file could be images or documents and
have the same functionality as the content items of the Generic Content module - this is why they implement the IContent interface.
Following is a description of the ILibrary interfaces and its members:
ILibrary Members
All libraries need to implement this interface:
| Member name |
Member type |
Comments |
| ID |
Guid |
Unique identifier (Primary key) of the library item. |
| Name |
string |
Library name.
|
| Owner |
string |
Username of the user who owns the library.
|
| Size |
long |
Returns the size of a library item. |
| MaxSize |
long |
Maximum size allowed for a library item. |
| MaxFileSize |
long |
Maximum size allowed for a file stored in a library item. |
| MaxFiles |
int |
Maximum number of files allowed in a library item. |
| LastModifiedDateEnabled |
bool? |
Determines whether the LastModification date would be added to the library items response header. If null, gets the
default setting. |
| Expiration |
Expiration |
Gets or sets the library expiration settings.
|
| TypeName |
string |
Library type name. Possible values:
|
| DateCreated |
DateTime |
Date of creation of the library item.
|
| ItemsCount |
int |
The number of items in a library item. |
| GetItems() |
IList |
Gets the library items. |
See Also