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
System_CAPS_pubmethod CountCollection<T>()

Initializes a new instance of the CountCollection<T> class.

System_CAPS_pubmethod CountCollection<T>(InArgument<ICollection<T>>)

Initializes a new instance of the CountCollection<T> class.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty Collection

Gets or set the target collection.

System_CAPS_pubproperty DisplayName

(Inherited from Activity.)

System_CAPS_pubproperty Id

(Inherited from Activity.)

System_CAPS_protproperty ImplementationVersion

(Inherited from CodeActivity<TResult>.)

System_CAPS_pubproperty Result

(Inherited from Activity<TResult>.)

System_CAPS_pubproperty ResultType

(Inherited from ActivityWithResult.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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