Class ImageTransformCollection

    Definition

    Namespace:
    Tizen.Multimedia.Util
    Assembly:
    Tizen.Multimedia.Util.dll

    Represents a collection of ImageTransform objects that can be individually accessed by index.

    public class ImageTransformCollection : IList<ImageTransform>, ICollection<ImageTransform>, IEnumerable<ImageTransform>, IEnumerable
    Inheritance
    object
    ImageTransformCollection
    Implements
    System.Collections.Generic.IList<T><ImageTransform>
    System.Collections.Generic.ICollection<T><ImageTransform>
    System.Collections.Generic.IEnumerable<T><ImageTransform>
    System.Collections.IEnumerable

    Constructors

    View Source

    ImageTransformCollection()

    Initializes a new instance of the ImageTransformCollection class.

    Declaration
    public ImageTransformCollection()

    Properties

    View Source

    Count

    Gets the number of items contained in the TransformCollection.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int
    View Source

    this[int]

    Gets or sets the ImageTransform at the specified index.

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

    Methods

    View Source

    Add(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.

    View Source

    Clear()

    Removes all items.

    Declaration
    public void Clear()
    View Source

    Contains(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
    bool

    true if the ImageTransform is found in the collection; otherwise, false.

    View Source

    CopyTo(ImageTransform[], int)

    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.

    int arrayIndex

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

    Exceptions
    Type Condition
    System.ArgumentNullException

    array is null.

    System.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.

    View Source

    GetEnumerator()

    Returns an enumerator that can iterate through the collection.

    Declaration
    public IEnumerator<ImageTransform> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<T><ImageTransform>

    An enumerator that can be used to iterate through the collection.

    View Source

    IndexOf(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
    int

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

    View Source

    Insert(int, ImageTransform)

    Inserts a ImageTransform into the collection at the specified index.

    Declaration
    public void Insert(int index, ImageTransform item)
    Parameters
    Type Name Description
    int index

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

    ImageTransform item

    The ImageTransform to insert into the collection.

    Exceptions
    Type Condition
    System.ArgumentNullException

    item is null.

    System.ArgumentOutOfRangeException

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

    View Source

    Remove(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
    bool

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

    View Source

    RemoveAt(int)

    Removes the ImageTransform at the specified index.

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    int index

    The zero-based index to remove.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

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

    Explicit Interface Implementations

    View Source

    ICollection<ImageTransform>.IsReadOnly

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

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX