Class Collection
Defines a collection of mediaitems
Inheritance
System.Object
Collection
Implements
IItem<System.Int32>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public class Collection : IItem<int>
Constructors
Collection()
Default constructor
Declaration
public Collection()
Collection(Collection)
Copy constructor
Declaration
public Collection(Collection collection)
Parameters
| Type | Name | Description |
|---|---|---|
| Collection | collection |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
Properties
Id
Id of the collection
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Name
The name of the collection
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NumberOfItems
The list of media items that the collection consists of
Declaration
public int NumberOfItems { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
CopyFrom(Collection)
Declaration
public void CopyFrom(Collection collection)
Parameters
| Type | Name | Description |
|---|---|---|
| Collection | collection |