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.
public class ImageTransformCollection : IList<ImageTransform>, ICollection<ImageTransform>, IEnumerable<ImageTransform>, IEnumerable
- Inheritance
-
ImageTransformCollection
- Implements
Constructors
View SourceImageTransformCollection()
Initializes a new instance of the ImageTransformCollection class.
Declaration
public ImageTransformCollection()
API Level: 4
Properties
View SourceCount
Gets the number of items contained in the TransformCollection.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 4
View SourceItem[Int32]
Gets or sets the ImageTransform at the specified index.
Declaration
public 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 |
---|---|
ArgumentOutOfRangeException | index is less than 0. |
API Level: 4
Methods
View SourceAdd(ImageTransform)
Adds a ImageTransform to the end of the collection.
Declaration
public 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
View SourceClear()
Removes all items.
Declaration
public void Clear()
API Level: 4
View SourceContains(ImageTransform)
Determines whether the ImageTransformCollection contains the specified item.
Declaration
public 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
View SourceCopyTo(ImageTransform[], Int32)
Copies the items of the collection to an array, starting at the specified array index.
Declaration
public 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 |
---|---|
ArgumentNullException |
|
ArgumentOutOfRangeException |
|
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
View SourceGetEnumerator()
Returns an enumerator that can iterate through the collection.
Declaration
public IEnumerator<ImageTransform> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<ImageTransform> | An enumerator that can be used to iterate through the collection. |
API Level: 4
View SourceIndexOf(ImageTransform)
Determines the index of the specified item in the collection.
Declaration
public 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
View SourceInsert(Int32, ImageTransform)
Inserts a ImageTransform into the collection at the specified index.
Declaration
public 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 |
---|---|
ArgumentNullException |
|
ArgumentOutOfRangeException | index is less than 0. |
API Level: 4
View SourceRemove(ImageTransform)
Removes the first occurrence of the specified ImageTransform from the collection.
Declaration
public bool Remove(ImageTransform item)
Parameters
Type | Name | Description |
---|---|---|
ImageTransform | item | The ImageTransform to remove. |
Returns
Type | Description |
---|---|
Boolean | true if |
API Level: 4
View SourceRemoveAt(Int32)
Removes the ImageTransform at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The zero-based index to remove. |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | index is less than 0. |
API Level: 4
Explicit Interface Implementations
View SourceICollection<ImageTransform>.IsReadOnly
Declaration
bool ICollection<ImageTransform>.IsReadOnly { get; }
Returns
Type | Description |
---|---|
Boolean |
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator |