Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ActivityCollection Class

Note: This API is now obsolete.

Models a strongly typed ICollection of type Activity.

System::Object
  System.Collections.Generic::List<Activity>
    System.Workflow.ComponentModel::ActivityCollection

Namespace:  System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
[ObsoleteAttribute(L"The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public ref class ActivityCollection sealed : public List<Activity^>, 
	IList<Activity^>, ICollection<Activity^>, IEnumerable<Activity^>, 
	IList, ICollection, IEnumerable

The ActivityCollection type exposes the following members.

  NameDescription
Public methodActivityCollectionInitializes a new instance of the ActivityCollection class, initializing an owner Activity.
Top
  NameDescription
Public propertyCapacityGets or sets the total number of elements the internal data structure can hold without resizing. (Inherited from List<T>.)
Public propertyCountGets the number of members of the ICollection.
Public propertyItem[Int32]Gets or sets the activity in the ICollection based on the index.
Public propertyItem[String]Gets the activity in the ICollection based on the string which is a unique key.
Top
  NameDescription
Public methodAddAdds the Activity to the ICollection.
Public methodAddRangeAdds the elements of the specified collection to the end of the List<T>. (Inherited from List<T>.)
Public methodAsReadOnlyReturns a read-only IList<T> wrapper for the current collection. (Inherited from List<T>.)
Public methodBinarySearch(T)Searches the entire sorted List<T> for an element using the default comparer and returns the zero-based index of the element. (Inherited from List<T>.)
Public methodBinarySearch(T, IComparer<T>)Searches the entire sorted List<T> for an element using the specified comparer and returns the zero-based index of the element. (Inherited from List<T>.)
Public methodBinarySearch(Int32, Int32, T, IComparer<T>)Searches a range of elements in the sorted List<T> for an element using the specified comparer and returns the zero-based index of the element. (Inherited from List<T>.)
Public methodClearRemoves every Activity from the ICollection.
Public methodContainsProvides a test for membership of the Activity in the ICollection.
Public methodConvertAll<TOutput>Converts the elements in the current List<T> to another type, and returns a list containing the converted elements. (Inherited from List<T>.)
Public methodCopyTo(array<T>)Copies the entire List<T> to a compatible one-dimensional array, starting at the beginning of the target array. (Inherited from List<T>.)
Public methodCopyTo(array<T>, Int32)Copies the entire List<T> to a compatible one-dimensional array, starting at the specified index of the target array. (Inherited from List<T>.)
Public methodCopyTo(Int32, array<T>, Int32, Int32)Copies a range of elements from the List<T> to a compatible one-dimensional array, starting at the specified index of the target array. (Inherited from List<T>.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExistsDetermines whether the List<T> contains elements that match the conditions defined by the specified predicate. (Inherited from List<T>.)
Public methodFindSearches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List<T>. (Inherited from List<T>.)
Public methodFindAllRetrieves all the elements that match the conditions defined by the specified predicate. (Inherited from List<T>.)
Public methodFindIndex(Predicate<T>)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List<T>. (Inherited from List<T>.)
Public methodFindIndex(Int32, Predicate<T>)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<T> that extends from the specified index to the last element. (Inherited from List<T>.)
Public methodFindIndex(Int32, Int32, Predicate<T>)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<T> that starts at the specified index and contains the specified number of elements. (Inherited from List<T>.)
Public methodFindLastSearches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire List<T>. (Inherited from List<T>.)
Public methodFindLastIndex(Predicate<T>)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List<T>. (Inherited from List<T>.)
Public methodFindLastIndex(Int32, Predicate<T>)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List<T> that extends from the first element to the specified index. (Inherited from List<T>.)
Public methodFindLastIndex(Int32, Int32, Predicate<T>)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List<T> that contains the specified number of elements and ends at the specified index. (Inherited from List<T>.)
Public methodForEachPerforms the specified action on each element of the List<T>. (Inherited from List<T>.)
Public methodGetEnumeratorImplements an enumeration interface to the ICollection.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetRangeCreates a shallow copy of a range of elements in the source List<T>. (Inherited from List<T>.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIndexOf(Activity)Gets the index of the Activity in the ICollection.
Public methodIndexOf(T, Int32)Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<T> that extends from the specified index to the last element. (Inherited from List<T>.)
Public methodIndexOf(T, Int32, Int32)Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<T> that starts at the specified index and contains the specified number of elements. (Inherited from List<T>.)
Public methodInsertInserts the item at the index in the ICollection.
Public methodInsertRangeInserts the elements of a collection into the List<T> at the specified index. (Inherited from List<T>.)
Public methodLastIndexOf(T)Searches for the specified object and returns the zero-based index of the last occurrence within the entire List<T>. (Inherited from List<T>.)
Public methodLastIndexOf(T, Int32)Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<T> that extends from the first element to the specified index. (Inherited from List<T>.)
Public methodLastIndexOf(T, Int32, Int32)Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<T> that contains the specified number of elements and ends at the specified index. (Inherited from List<T>.)
Public methodRemoveRemoves the activity specified in the call from the ICollection.
Public methodRemoveAllRemoves all the elements that match the conditions defined by the specified predicate. (Inherited from List<T>.)
Public methodRemoveAtRemoves the Activity in the ICollection at the specified index.
Public methodRemoveRangeRemoves a range of elements from the List<T>. (Inherited from List<T>.)
Public methodReverse()Reverses the order of the elements in the entire List<T>. (Inherited from List<T>.)
Public methodReverse(Int32, Int32)Reverses the order of the elements in the specified range. (Inherited from List<T>.)
Public methodSort()Sorts the elements in the entire List<T> using the default comparer. (Inherited from List<T>.)
Public methodSort(Comparison<T>)Sorts the elements in the entire List<T> using the specified System::Comparison<T>. (Inherited from List<T>.)
Public methodSort(IComparer<T>)Sorts the elements in the entire List<T> using the specified comparer. (Inherited from List<T>.)
Public methodSort(Int32, Int32, IComparer<T>)Sorts the elements in a range of elements in List<T> using the specified comparer. (Inherited from List<T>.)
Public methodToArrayCopies the elements of the List<T> to a new array. (Inherited from List<T>.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTrimExcessSets the capacity to the actual number of elements in the List<T>, if that number is less than a threshold value. (Inherited from List<T>.)
Public methodTrueForAllDetermines whether every element in the List<T> matches the conditions defined by the specified predicate. (Inherited from List<T>.)
Top
  NameDescription
Public eventListChangedRaised whenever a change is made to the contents of this ICollection.
Top
  NameDescription
Public Extension MethodAggregate<Activity>(Func<Activity, Activity, Activity>)Overloaded. Applies an accumulator function over a sequence. (Defined by Enumerable.)
Public Extension MethodAggregate<Activity, TAccumulate>(TAccumulate, Func<TAccumulate, Activity, TAccumulate>)Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. (Defined by Enumerable.)
Public Extension MethodAggregate<Activity, TAccumulate, TResult>(TAccumulate, Func<TAccumulate, Activity, TAccumulate>, Func<TAccumulate, TResult>)Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value. (Defined by Enumerable.)
Public Extension MethodAll<Activity>Determines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension MethodAny<Activity>()Overloaded. Determines whether a sequence contains any elements. (Defined by Enumerable.)
Public Extension MethodAny<Activity>(Func<Activity, Boolean>)Overloaded. Determines whether any element of a sequence satisfies a condition. (Defined by Enumerable.)
Public Extension MethodAsEnumerable<Activity>Returns the input typed as IEnumerable<T>. (Defined by Enumerable.)
Public Extension MethodAsParallel()Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsParallel<Activity>()Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsQueryable()Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodAsQueryable<Activity>()Overloaded. Converts a generic IEnumerable<T> to a generic IQueryable<T>. (Defined by Queryable.)
Public Extension MethodAverage<Activity>(Func<Activity, Nullable<Decimal>>)Overloaded. Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodAverage<Activity>(Func<Activity, Nullable<Double>>)Overloaded. Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodAverage<Activity>(Func<Activity, Int32>)Overloaded. Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodAverage<Activity>(Func<Activity, Nullable<Int32>>)Overloaded. Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodAverage<Activity>(Func<Activity, Int64>)Overloaded. Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodAverage<Activity>(Func<Activity, Nullable<Int64>>)Overloaded. Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodAverage<Activity>(Func<Activity, Single>)Overloaded. Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodAverage<Activity>(Func<Activity, Nullable<Single>>)Overloaded. Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodAverage<Activity>(Func<Activity, Double>)Overloaded. Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodAverage<Activity>(Func<Activity, Decimal>)Overloaded. Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodCast<TResult>Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodConcat<Activity>Concatenates two sequences. (Defined by Enumerable.)
Public Extension MethodContains<Activity>(Activity)Overloaded. Determines whether a sequence contains a specified element by using the default equality comparer. (Defined by Enumerable.)
Public Extension MethodContains<Activity>(Activity, IEqualityComparer<Activity>)Overloaded. Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>. (Defined by Enumerable.)
Public Extension MethodCount<Activity>()Overloaded. Returns the number of elements in a sequence. (Defined by Enumerable.)
Public Extension MethodCount<Activity>(Func<Activity, Boolean>)Overloaded. Returns a number that represents how many elements in the specified sequence satisfy a condition. (Defined by Enumerable.)
Public Extension MethodDefaultIfEmpty<Activity>()Overloaded. Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. (Defined by Enumerable.)
Public Extension MethodDefaultIfEmpty<Activity>(Activity)Overloaded. Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. (Defined by Enumerable.)
Public Extension MethodDistinct<Activity>()Overloaded. Returns distinct elements from a sequence by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension MethodDistinct<Activity>(IEqualityComparer<Activity>)Overloaded. Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Public Extension MethodElementAt<Activity>Returns the element at a specified index in a sequence. (Defined by Enumerable.)
Public Extension MethodElementAtOrDefault<Activity>Returns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable.)
Public Extension MethodExcept<Activity>(IEnumerable<Activity>)Overloaded. Produces the set difference of two sequences by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension MethodExcept<Activity>(IEnumerable<Activity>, IEqualityComparer<Activity>)Overloaded. Produces the set difference of two sequences by using the specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Public Extension MethodFirst<Activity>()Overloaded. Returns the first element of a sequence. (Defined by Enumerable.)
Public Extension MethodFirst<Activity>(Func<Activity, Boolean>)Overloaded. Returns the first element in a sequence that satisfies a specified condition. (Defined by Enumerable.)
Public Extension MethodFirstOrDefault<Activity>()Overloaded. Returns the first element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable.)
Public Extension MethodFirstOrDefault<Activity>(Func<Activity, Boolean>)Overloaded. Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable.)
Public Extension MethodGroupBy<Activity, TKey>(Func<Activity, TKey>)Overloaded. Groups the elements of a sequence according to a specified key selector function. (Defined by Enumerable.)
Public Extension MethodGroupBy<Activity, TKey>(Func<Activity, TKey>, IEqualityComparer<TKey>)Overloaded. Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer. (Defined by Enumerable.)
Public Extension MethodGroupBy<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>)Overloaded. Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function. (Defined by Enumerable.)
Public Extension MethodGroupBy<Activity, TKey, TResult>(Func<Activity, TKey>, Func<TKey, IEnumerable<Activity>, TResult>)Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. (Defined by Enumerable.)
Public Extension MethodGroupBy<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>, IEqualityComparer<TKey>)Overloaded. Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function. (Defined by Enumerable.)
Public Extension MethodGroupBy<Activity, TKey, TResult>(Func<Activity, TKey>, Func<TKey, IEnumerable<Activity>, TResult>, IEqualityComparer<TKey>)Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer. (Defined by Enumerable.)
Public Extension MethodGroupBy<Activity, TKey, TElement, TResult>(Func<Activity, TKey>, Func<Activity, TElement>, Func<TKey, IEnumerable<TElement>, TResult>)Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function. (Defined by Enumerable.)
Public Extension MethodGroupBy<Activity, TKey, TElement, TResult>(Func<Activity, TKey>, Func<Activity, TElement>, Func<TKey, IEnumerable<TElement>, TResult>, IEqualityComparer<TKey>)Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function. (Defined by Enumerable.)
Public Extension MethodGroupJoin<Activity, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Activity, TKey>, Func<TInner, TKey>, Func<Activity, IEnumerable<TInner>, TResult>)Overloaded. Correlates the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. (Defined by Enumerable.)
Public Extension MethodGroupJoin<Activity, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Activity, TKey>, Func<TInner, TKey>, Func<Activity, IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>)Overloaded. Correlates the elements of two sequences based on key equality and groups the results. A specified IEqualityComparer<T> is used to compare keys. (Defined by Enumerable.)
Public Extension MethodIntersect<Activity>(IEnumerable<Activity>)Overloaded. Produces the set intersection of two sequences by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension MethodIntersect<Activity>(IEnumerable<Activity>, IEqualityComparer<Activity>)Overloaded. Produces the set intersection of two sequences by using the specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Public Extension MethodJoin<Activity, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Activity, TKey>, Func<TInner, TKey>, Func<Activity, TInner, TResult>)Overloaded. Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. (Defined by Enumerable.)
Public Extension MethodJoin<Activity, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Activity, TKey>, Func<TInner, TKey>, Func<Activity, TInner, TResult>, IEqualityComparer<TKey>)Overloaded. Correlates the elements of two sequences based on matching keys. A specified IEqualityComparer<T> is used to compare keys. (Defined by Enumerable.)
Public Extension MethodLast<Activity>()Overloaded. Returns the last element of a sequence. (Defined by Enumerable.)
Public Extension MethodLast<Activity>(Func<Activity, Boolean>)Overloaded. Returns the last element of a sequence that satisfies a specified condition. (Defined by Enumerable.)
Public Extension MethodLastOrDefault<Activity>()Overloaded. Returns the last element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable.)
Public Extension MethodLastOrDefault<Activity>(Func<Activity, Boolean>)Overloaded. Returns the last element of a sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable.)
Public Extension MethodLongCount<Activity>()Overloaded. Returns an Int64 that represents the total number of elements in a sequence. (Defined by Enumerable.)
Public Extension MethodLongCount<Activity>(Func<Activity, Boolean>)Overloaded. Returns an Int64 that represents how many elements in a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension MethodMax<Activity>()Overloaded. Returns the maximum value in a generic sequence. (Defined by Enumerable.)
Public Extension MethodMax<Activity>(Func<Activity, Nullable<Decimal>>)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Decimal value. (Defined by Enumerable.)
Public Extension MethodMax<Activity>(Func<Activity, Nullable<Double>>)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Double value. (Defined by Enumerable.)
Public Extension MethodMax<Activity>(Func<Activity, Int32>)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int32 value. (Defined by Enumerable.)
Public Extension MethodMax<Activity>(Func<Activity, Nullable<Int32>>)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value. (Defined by Enumerable.)
Public Extension MethodMax<Activity>(Func<Activity, Int64>)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int64 value. (Defined by Enumerable.)
Public Extension MethodMax<Activity>(Func<Activity, Nullable<Int64>>)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int64 value. (Defined by Enumerable.)
Public Extension MethodMax<Activity>(Func<Activity, Single>)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Single value. (Defined by Enumerable.)
Public Extension MethodMax<Activity>(Func<Activity, Nullable<Single>>)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Single value. (Defined by Enumerable.)
Public Extension MethodMax<Activity>(Func<Activity, Double>)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Double value. (Defined by Enumerable.)
Public Extension MethodMax<Activity>(Func<Activity, Decimal>)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Decimal value. (Defined by Enumerable.)
Public Extension MethodMax<Activity, TResult>(Func<Activity, TResult>)Overloaded. Invokes a transform function on each element of a generic sequence and returns the maximum resulting value. (Defined by Enumerable.)
Public Extension MethodMin<Activity>()Overloaded. Returns the minimum value in a generic sequence. (Defined by Enumerable.)
Public Extension MethodMin<Activity>(Func<Activity, Nullable<Decimal>>)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Decimal value. (Defined by Enumerable.)
Public Extension MethodMin<Activity>(Func<Activity, Nullable<Double>>)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Double value. (Defined by Enumerable.)
Public Extension MethodMin<Activity>(Func<Activity, Int32>)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int32 value. (Defined by Enumerable.)
Public Extension MethodMin<Activity>(Func<Activity, Nullable<Int32>>)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int32 value. (Defined by Enumerable.)
Public Extension MethodMin<Activity>(Func<Activity, Int64>)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int64 value. (Defined by Enumerable.)
Public Extension MethodMin<Activity>(Func<Activity, Nullable<Int64>>)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int64 value. (Defined by Enumerable.)
Public Extension MethodMin<Activity>(Func<Activity, Single>)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Single value. (Defined by Enumerable.)
Public Extension MethodMin<Activity>(Func<Activity, Nullable<Single>>)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Single value. (Defined by Enumerable.)
Public Extension MethodMin<Activity>(Func<Activity, Double>)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Double value. (Defined by Enumerable.)
Public Extension MethodMin<Activity>(Func<Activity, Decimal>)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Decimal value. (Defined by Enumerable.)
Public Extension MethodMin<Activity, TResult>(Func<Activity, TResult>)Overloaded. Invokes a transform function on each element of a generic sequence and returns the minimum resulting value. (Defined by Enumerable.)
Public Extension MethodOfType<TResult>Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension MethodOrderBy<Activity, TKey>(Func<Activity, TKey>)Overloaded. Sorts the elements of a sequence in ascending order according to a key. (Defined by Enumerable.)
Public Extension MethodOrderBy<Activity, TKey>(Func<Activity, TKey>, IComparer<TKey>)Overloaded. Sorts the elements of a sequence in ascending order by using a specified comparer. (Defined by Enumerable.)
Public Extension MethodOrderByDescending<Activity, TKey>(Func<Activity, TKey>)Overloaded. Sorts the elements of a sequence in descending order according to a key. (Defined by Enumerable.)
Public Extension MethodOrderByDescending<Activity, TKey>(Func<Activity, TKey>, IComparer<TKey>)Overloaded. Sorts the elements of a sequence in descending order by using a specified comparer. (Defined by Enumerable.)
Public Extension MethodReverse<Activity>Inverts the order of the elements in a sequence. (Defined by Enumerable.)
Public Extension MethodSelect<Activity, TResult>(Func<Activity, TResult>)Overloaded. Projects each element of a sequence into a new form. (Defined by Enumerable.)
Public Extension MethodSelect<Activity, TResult>(Func<Activity, Int32, TResult>)Overloaded. Projects each element of a sequence into a new form by incorporating the element's index. (Defined by Enumerable.)
Public Extension MethodSelectMany<Activity, TResult>(Func<Activity, IEnumerable<TResult>>)Overloaded. Projects each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence. (Defined by Enumerable.)
Public Extension MethodSelectMany<Activity, TResult>(Func<Activity, Int32, IEnumerable<TResult>>)Overloaded. Projects each element of a sequence to an IEnumerable<T>, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element. (Defined by Enumerable.)
Public Extension MethodSelectMany<Activity, TCollection, TResult>(Func<Activity, Int32, IEnumerable<TCollection>>, Func<Activity, TCollection, TResult>)Overloaded. Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element. (Defined by Enumerable.)
Public Extension MethodSelectMany<Activity, TCollection, TResult>(Func<Activity, IEnumerable<TCollection>>, Func<Activity, TCollection, TResult>)Overloaded. Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. (Defined by Enumerable.)
Public Extension MethodSequenceEqual<Activity>(IEnumerable<Activity>)Overloaded. Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. (Defined by Enumerable.)
Public Extension MethodSequenceEqual<Activity>(IEnumerable<Activity>, IEqualityComparer<Activity>)Overloaded. Determines whether two sequences are equal by comparing their elements by using a specified IEqualityComparer<T>. (Defined by Enumerable.)
Public Extension MethodSingle<Activity>()Overloaded. Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. (Defined by Enumerable.)
Public Extension MethodSingle<Activity>(Func<Activity, Boolean>)Overloaded. Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. (Defined by Enumerable.)
Public Extension MethodSingleOrDefault<Activity>()Overloaded. Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. (Defined by Enumerable.)
Public Extension MethodSingleOrDefault<Activity>(Func<Activity, Boolean>)Overloaded. Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. (Defined by Enumerable.)
Public Extension MethodSkip<Activity>Bypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable.)
Public Extension MethodSkipWhile<Activity>(Func<Activity, Boolean>)Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. (Defined by Enumerable.)
Public Extension MethodSkipWhile<Activity>(Func<Activity, Int32, Boolean>)Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension MethodSum<Activity>(Func<Activity, Nullable<Decimal>>)Overloaded. Computes the sum of the sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodSum<Activity>(Func<Activity, Nullable<Double>>)Overloaded. Computes the sum of the sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodSum<Activity>(Func<Activity, Int32>)Overloaded. Computes the sum of the sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodSum<Activity>(Func<Activity, Nullable<Int32>>)Overloaded. Computes the sum of the sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodSum<Activity>(Func<Activity, Int64>)Overloaded. Computes the sum of the sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodSum<Activity>(Func<Activity, Nullable<Int64>>)Overloaded. Computes the sum of the sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodSum<Activity>(Func<Activity, Single>)Overloaded. Computes the sum of the sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodSum<Activity>(Func<Activity, Nullable<Single>>)Overloaded. Computes the sum of the sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodSum<Activity>(Func<Activity, Double>)Overloaded. Computes the sum of the sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodSum<Activity>(Func<Activity, Decimal>)Overloaded. Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension MethodTake<Activity>Returns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable.)
Public Extension MethodTakeWhile<Activity>(Func<Activity, Boolean>)Overloaded. Returns elements from a sequence as long as a specified condition is true. (Defined by Enumerable.)
Public Extension MethodTakeWhile<Activity>(Func<Activity, Int32, Boolean>)Overloaded. Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension MethodToArray<Activity>Creates an array from a IEnumerable<T>. (Defined by Enumerable.)
Public Extension MethodToDictionary<Activity, TKey>(Func<Activity, TKey>)Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function. (Defined by Enumerable.)
Public Extension MethodToDictionary<Activity, TKey>(Func<Activity, TKey>, IEqualityComparer<TKey>)Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function and key comparer. (Defined by Enumerable.)
Public Extension MethodToDictionary<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>)Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to specified key selector and element selector functions. (Defined by Enumerable.)
Public Extension MethodToDictionary<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>, IEqualityComparer<TKey>)Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function, a comparer, and an element selector function. (Defined by Enumerable.)
Public Extension MethodToList<Activity>Creates a List<T> from an IEnumerable<T>. (Defined by Enumerable.)
Public Extension MethodToLookup<Activity, TKey>(Func<Activity, TKey>)Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function. (Defined by Enumerable.)
Public Extension MethodToLookup<Activity, TKey>(Func<Activity, TKey>, IEqualityComparer<TKey>)Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function and key comparer. (Defined by Enumerable.)
Public Extension MethodToLookup<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>)Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to specified key selector and element selector functions. (Defined by Enumerable.)
Public Extension MethodToLookup<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>, IEqualityComparer<TKey>)Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function, a comparer and an element selector function. (Defined by Enumerable.)
Public Extension MethodUnion<Activity>(IEnumerable<Activity>)Overloaded. Produces the set union of two sequences by using the default equality comparer. (Defined by Enumerable.)
Public Extension MethodUnion<Activity>(IEnumerable<Activity>, IEqualityComparer<Activity>)Overloaded. Produces the set union of two sequences by using a specified IEqualityComparer<T>. (Defined by Enumerable.)
Public Extension MethodWhere<Activity>(Func<Activity, Boolean>)Overloaded. Filters a sequence of values based on a predicate. (Defined by Enumerable.)
Public Extension MethodWhere<Activity>(Func<Activity, Int32, Boolean>)Overloaded. Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension MethodZip<Activity, TSecond, TResult>Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results. (Defined by Enumerable.)
Top
  NameDescription
Explicit interface implemetationPrivate methodICollection<Activity>::AddAdds an object to the IList at the end of the IList.
Explicit interface implemetationPrivate methodICollection<Activity>::ClearClears all activities from the IList.
Explicit interface implemetationPrivate methodICollection<Activity>::ContainsGets a value that indicates whether the Object is a member of the collection.
Explicit interface implemetationPrivate methodICollection<Activity>::CopyToCopies the elements of the ICollection to an Array, starting at a particular Array index.
Explicit interface implemetationPrivate methodICollection::CopyToCopies the elements of the ICollection to an Array, starting at a particular Array index.
Explicit interface implemetationPrivate propertyICollection<Activity>::CountGets the number of elements contained in the ICollection<T>.
Explicit interface implemetationPrivate propertyICollection<T>::IsReadOnlyGets a value indicating whether the ICollection<T> is read-only. (Inherited from List<T>.)
Explicit interface implemetationPrivate propertyICollection<Activity>::IsReadOnlyGets a value that indicates whether the IList is read-only.
Explicit interface implemetationPrivate propertyICollection::IsSynchronizedGets a value that indicates whether access to the ICollection<T> is synchronized, that is thread-safe.
Explicit interface implemetationPrivate methodICollection<Activity>::RemoveRemoves the first occurrence of a specific object from the ICollection<T>.
Explicit interface implemetationPrivate propertyICollection::SyncRootGets an object that can be used to synchronize access to the ICollection<T>.
Explicit interface implemetationPrivate methodIEnumerable<T>::GetEnumerator()Returns an enumerator that iterates through a collection. (Inherited from List<T>.)
Explicit interface implemetationPrivate methodIEnumerable<Activity>::GetEnumerator()Returns an enumerator that iterates through the collection.
Explicit interface implemetationPrivate methodIEnumerable::GetEnumeratorReturns an IEnumerator that iterates through the underlying IList.
Explicit interface implemetationPrivate methodIList::AddAdds an object to the IList at the end of the IList.
Explicit interface implemetationPrivate methodIList::ClearRemoves all Activity from the ICollection.
Explicit interface implemetationPrivate methodIList::ContainsGets a value that indicates whether the Object is a member of the collection.
Explicit interface implemetationPrivate methodIList<Activity>::IndexOfDetermines the index of a specific item in the IList.
Explicit interface implemetationPrivate methodIList::IndexOfGets the zero-based index of the Object in the underlying activities collection.
Explicit interface implemetationPrivate methodIList<Activity>::InsertInserts an Object into the IList at the zero-based index specified.
Explicit interface implemetationPrivate methodIList::InsertInserts an Object into the IList at the zero-based index specified.
Explicit interface implemetationPrivate propertyIList::IsFixedSizeGets a value indicating whether the IList has a fixed size.
Explicit interface implemetationPrivate propertyIList::IsReadOnlyGets a value indicating whether the ICollection<T> is read-only.
Explicit interface implemetationPrivate propertyIList<Activity>::ItemGets or sets the element at the specified index.
Explicit interface implemetationPrivate propertyIList::ItemGets or sets the activity in the ICollection based on the index.
Explicit interface implemetationPrivate methodIList::RemoveRemoves the first occurrence of a specific object from the IList.
Explicit interface implemetationPrivate methodIList<Activity>::RemoveAtRemoves the IList item at the specified index.
Top
NoteNote

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

This class is used to represent the list of child activities for a CompositeActivity.

NoteNote

Only call methods derived from IList<T> and not List<T>, such as using Add to add activities instead of AddRange. Calling methods derived from List<T> will have unexpected consequences.

The following example shows access of the ActivityCollection which is the member of a composite activity class containing all child activities. This code example is part of the Using Throw SDK Sample and is from the ThrowWorkflow.cs file. For more information, see Using the ThrowActivity Activity.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.