| MediaCollection Methods | 
The MediaCollection type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Add | 
            Adds a value.
            (Inherited from CollectionT, TCollection.) | 
|  | AddMany | 
            Adds some values.
            (Inherited from CollectionT, TCollection.) | 
|  | AddSuccess | 
            Invoked when an element is added to the collection.
            (Inherited from RemoteMediaCollection.) | 
|  | Any | 
            Determined whether the collection contains at least one value.
            (Inherited from CollectionT, TCollection.) | 
|  | Any(Function1T, Boolean) | 
            Determined whether the collection contains at least one value
            that matches the specified predicate.
            (Inherited from CollectionT, TCollection.) | 
|  | ArrayFromList | 
            Creates an array from a list.
            (Inherited from RemoteMediaCollection.) | 
|  | Contains | 
            Determines whether the collection contains a value.
            (Inherited from CollectionT, TCollection.) | 
|  | CreateCollection | 
            Creates a collection.
            (Inherited from RemoteMediaCollection.) | 
|  | Equals | (Inherited from Object.) | 
|  | Finalize | (Inherited from Object.) | 
|  | First | 
            Gets the first value.
            Throws an exception if there are
            no values in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | First(Function1T, Boolean) | 
            Gets the first value that matches
            the specified predicate.
            Throws an exception if there are
            no such values in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | FirstOrDefault | 
            Gets the first value.
            Returns a default value if there are
            no values in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | FirstOrDefault(Function1T, Boolean) | 
            Gets the first value that matches
            the specified predicate.
            Returns a default value if there are
            no such values in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | ForEach | 
            Executes a callback function once per value.
            (Inherited from CollectionT, TCollection.) | 
|  | GetById | 
            Gets a media by ID.
            (Inherited from RemoteMediaCollection.) | 
|  | GetHashCode | (Inherited from Object.) | 
|  | GetType | (Inherited from Object.) | 
|  | Last | 
            Gets the last value.
            Throws an exception if there are
            no values in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | Last(Function1T, Boolean) | 
            Gets the last value that matches
            the specified predicate.
            Throws an exception if there are
            no such values in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | LastOrDefault | 
            Gets the last value.
            Returns a default value if there are
            no values in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | LastOrDefault(Function1T, Boolean) | 
            Gets the last value that matches
            the specified predicate.
            Returns a default value if there are
            no such values in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | MemberwiseClone | (Inherited from Object.) | 
|  | Remove | 
            Removes a value.
            (Inherited from CollectionT, TCollection.) | 
|  | RemoveAll | 
            Removes all values.
            (Inherited from CollectionT, TCollection.) | 
|  | RemoveFirst | 
            Removes the first value.
            (Inherited from CollectionT, TCollection.) | 
|  | RemoveFirst(Function1T, Boolean) | 
            Removes the first value that matches a given condition.
            (Inherited from CollectionT, TCollection.) | 
|  | RemoveLast | 
            Removes the last value.
            (Inherited from CollectionT, TCollection.) | 
|  | RemoveLast(Function1T, Boolean) | 
            Removes the last value that matches a given condition.
            (Inherited from CollectionT, TCollection.) | 
|  | RemoveMany | 
            Removes some values.
            (Inherited from CollectionT, TCollection.) | 
|  | RemoveSuccess | 
            Invoked when an element is removed from the collection.
            (Inherited from RemoteMediaCollection.) | 
|  | Replace | 
            Replaces the collection with a new set of values.
            (Inherited from CollectionT, TCollection.) | 
|  | Single | 
            Gets the only value.
            Throws an exception if there are
            no values or more than one value
            in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | Single(Function1T, Boolean) | 
            Gets the only value that matches
            the specified predicate.
            Throws an exception if there are
            no values or more than one value
            in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | SingleOrDefault | 
            Gets the only value.
            Returns a default value if there are
            no values or more than one value
            in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | SingleOrDefault(Function1T, Boolean) | 
            Gets the only value that matches
            the specified predicate.
            Returns a default value if there are
            no values or more than one value
            in the collection.
            (Inherited from CollectionT, TCollection.) | 
|  | ToString | (Inherited from Object.) | 
|  | ValueAt | 
            Gets the value at the specified index.
            Throws an exception if a value does
            not exist at that index.
            (Inherited from CollectionT, TCollection.) | 
|  | ValueAtOrDefault | 
            Gets the value at the specified index.
            Returns a default value if a value does
            not exist at that index.
            (Inherited from CollectionT, TCollection.) | 
|  | Where | 
            Creates a new collection with values
            that match the specified predicate.
            (Inherited from CollectionT, TCollection.) | 
 See Also
See Also