CountCollection<T> Class
An activity to count the number of items in a collection.
Namespace: Microsoft.Activities
Assembly: Microsoft.Activities (in Microsoft.Activities.dll)
Inheritance Hierarchy
System.Object
System.Activities.Activity
System.Activities.ActivityWithResult
System.Activities.Activity<TResult>
System.Activities.CodeActivity<TResult>
Microsoft.Activities.CountCollection<T>
Syntax
public sealed class CountCollection<T> : CodeActivity<int>
generic<typename T>
public ref class CountCollection sealed : CodeActivity<int>
[<Sealed>]
type CountCollection<'T> =
class
inherit CodeActivity<int>
end
Public NotInheritable Class CountCollection(Of T)
Inherits CodeActivity(Of Integer)
Type Parameters
- T
The type of the collection items.
Constructors
Name | Description | |
---|---|---|
CountCollection<T>() | Initializes a new instance of the CountCollection<T> class. |
|
CountCollection<T>(InArgument<ICollection<T>>) | Initializes a new instance of the CountCollection<T> class. |
Properties
Name | Description | |
---|---|---|
CacheId | (Inherited from Activity.) |
|
Collection | Gets or set the target collection. |
|
DisplayName | (Inherited from Activity.) |
|
Id | (Inherited from Activity.) |
|
ImplementationVersion | (Inherited from CodeActivity<TResult>.) |
|
Result | (Inherited from Activity<TResult>.) |
|
ResultType | (Inherited from ActivityWithResult.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Activity.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Activities Namespace
Return to top