Class ImageTransformCollection
Definition
- Namespace:
- Tizen.Multimedia.Util
- Assembly:
- Tizen.Multimedia.Util.dll
- API Level:
- 4
Represents a collection of ImageTransform objects that can be individually accessed by index.
C#Copypublic class ImageTransformCollection : IList<ImageTransform>, ICollection<ImageTransform>, IEnumerable<ImageTransform>, IEnumerable
- Inheritance
-
System.ObjectImageTransformCollection
- Implements
-
System.Collections.Generic.IList<ImageTransform>System.Collections.Generic.ICollection<ImageTransform>System.Collections.Generic.IEnumerable<ImageTransform>
Constructors
ImageTransformCollection()
Initializes a new instance of the ImageTransformCollection class.
Declaration
C#Copypublic ImageTransformCollection()
API Level: 4
Properties
Declaration
C#Copypublic int Count { get; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 4
Declaration
C#Copypublic ImageTransform this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The zero-based index of the ImageTransform to get or set. |
Property Value
Type | Description |
---|---|
ImageTransform | The ImageTransform at the specified index. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | index is less than 0. |
API Level: 4
Methods
Declaration
C#Copypublic void Add(ImageTransform item)
Parameters
Type | Name | Description |
---|---|---|
ImageTransform | item | The ImageTransform to add. |
Remarks
ImageTransformCollection accepts null as a valid value for reference types and allows duplicate elements.
API Level: 4
Declaration
C#Copypublic void Clear()
API Level: 4
Contains(ImageTransform)
Determines whether the ImageTransformCollection contains the specified item.
Declaration
C#Copypublic bool Contains(ImageTransform item)
Parameters
Type | Name | Description |
---|---|---|
ImageTransform | item | The ImageTransform to locate in the collection. |
Returns
Type | Description |
---|---|
Boolean | true if the ImageTransform is found in the collection; otherwise, false. |
API Level: 4
CopyTo(ImageTransform[], Int32)
Copies the items of the collection to an array, starting at the specified array index.
Declaration
C#Copypublic void CopyTo(ImageTransform[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
ImageTransform[] | array | The one-dimensional array that is the destination of the items copied from the collection. |
Int32 | arrayIndex | The zero-based index in array at which copying begins. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentOutOfRangeException |
|
System.ArgumentException | The number of elements in the source collection is greater than the available space from arrayIndex to the end of the destination array. |
API Level: 4
Declaration
C#Copypublic IEnumerator<ImageTransform> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ImageTransform> | An enumerator that can be used to iterate through the collection. |
API Level: 4
Declaration
C#Copypublic int IndexOf(ImageTransform item)
Parameters
Type | Name | Description |
---|---|---|
ImageTransform | item | The ImageTransform to locate in the collection. |
Returns
Type | Description |
---|---|
Int32 | The index of value if found in the ImageTransformCollection; otherwise, -1. |
API Level: 4
Insert(Int32, ImageTransform)
Inserts a ImageTransform into the collection at the specified index.
Declaration
C#Copypublic void Insert(int index, ImageTransform item)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The zero-based index at which |
ImageTransform | item | The ImageTransform to insert into the collection. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentOutOfRangeException | index is less than 0. |
API Level: 4
Remove(ImageTransform)
Removes the first occurrence of the specified ImageTransform from the collection.
Declaration
C#Copypublic bool Remove(ImageTransform item)
Parameters
Type | Name | Description |
---|---|---|
ImageTransform | item | The ImageTransform to remove. |
Returns
Type | Description |
---|---|
Boolean | true if |
API Level: 4
Declaration
C#Copypublic void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The zero-based index to remove. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | index is less than 0. |
API Level: 4
Explicit Interface Implementations
Declaration
C#Copybool ICollection<ImageTransform>.IsReadOnly { get; }
Returns
Type | Description |
---|---|
Boolean |
Declaration
C#CopyIEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |