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#
Copy
public class ImageTransformCollection : IList<ImageTransform>, ICollection<ImageTransform>, IEnumerable<ImageTransform>, IEnumerable
Inheritance
ImageTransformCollection
Implements
System.Collections.Generic.IEnumerable<ImageTransform>

Constructors

View Source

ImageTransformCollection()

Initializes a new instance of the ImageTransformCollection class.

Declaration
C#
Copy
public ImageTransformCollection()
API Level: 4

Properties

View Source

Count

Gets the number of items contained in the TransformCollection.

Declaration
C#
Copy
public int Count { get; }
Property Value
Type Description
System.Int32
API Level: 4
View Source

Item[Int32]

Gets or sets the ImageTransform at the specified index.

Declaration
C#
Copy
public ImageTransform this[int index] { get; set; }
Parameters
Type Name Description
System.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.
-or-
index is equal to or greater than Count.

API Level: 4

Methods

View Source

Add(ImageTransform)

Adds a ImageTransform to the end of the collection.

Declaration
C#
Copy
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 Source

Clear()

Removes all items.

Declaration
C#
Copy
public void Clear()
API Level: 4
View Source

Contains(ImageTransform)

Determines whether the ImageTransformCollection contains the specified item.

Declaration
C#
Copy
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 Source

CopyTo(ImageTransform[], Int32)

Copies the items of the collection to an array, starting at the specified array index.

Declaration
C#
Copy
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.

System.Int32 arrayIndex

The zero-based index in array at which copying begins.

Exceptions
Type Condition
ArgumentNullException

array is null.

ArgumentOutOfRangeException

arrayIndex is less than 0.

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
View Source

GetEnumerator()

Returns an enumerator that can iterate through the collection.

Declaration
C#
Copy
public 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
View Source

IndexOf(ImageTransform)

Determines the index of the specified item in the collection.

Declaration
C#
Copy
public int IndexOf(ImageTransform item)
Parameters
Type Name Description
ImageTransform item

The ImageTransform to locate in the collection.

Returns
Type Description
System.Int32

The index of value if found in the ImageTransformCollection; otherwise, -1.

API Level: 4
View Source

Insert(Int32, ImageTransform)

Inserts a ImageTransform into the collection at the specified index.

Declaration
C#
Copy
public void Insert(int index, ImageTransform item)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which item should be inserted.

ImageTransform item

The ImageTransform to insert into the collection.

Exceptions
Type Condition
ArgumentNullException

item is null.

ArgumentOutOfRangeException

index is less than 0.
-or-
index is greater than Count.

API Level: 4
View Source

Remove(ImageTransform)

Removes the first occurrence of the specified ImageTransform from the collection.

Declaration
C#
Copy
public bool Remove(ImageTransform item)
Parameters
Type Name Description
ImageTransform item

The ImageTransform to remove.

Returns
Type Description
Boolean

true if item was removed from the collection; otherwise, false.

API Level: 4
View Source

RemoveAt(Int32)

Removes the ImageTransform at the specified index.

Declaration
C#
Copy
public void RemoveAt(int index)
Parameters
Type Name Description
System.Int32 index

The zero-based index to remove.

Exceptions
Type Condition
ArgumentOutOfRangeException

index is less than 0.
-or-
index is equal to or greater than Count.

API Level: 4

Explicit Interface Implementations

View Source

ICollection<ImageTransform>.IsReadOnly

Declaration
C#
Copy
bool ICollection<ImageTransform>.IsReadOnly { get; }
Returns
Type Description
Boolean
View Source

IEnumerable.GetEnumerator()

Declaration
C#
Copy
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
IEnumerator

Implements

System.Collections.Generic.IEnumerable<T>