BuildCollection<TValue> Class

 

Updated: July 3, 2012

An activity to build 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.BuildCollection<TValue>

Syntax

public sealed class BuildCollection<TValue> : CodeActivity<Collection<TValue>>
generic<typename TValue>
public ref class BuildCollection sealed : CodeActivity<Collection<TValue>^>
[<Sealed>]
type BuildCollection<'TValue> = 
    class
        inherit CodeActivity<Collection<'TValue>>
    end
Public NotInheritable Class BuildCollection(Of TValue)
    Inherits CodeActivity(Of Collection(Of TValue))

Type Parameters

  • TValue
    The type of an item in the collection.

Constructors

Name Description
System_CAPS_pubmethod BuildCollection<TValue>()

Initializes a new instance of the BuildCollection<TValue> class.

System_CAPS_pubmethod BuildCollection<TValue>(InArgument<IEnumerable<TValue>>)

Initializes a new instance of the BuildCollection<TValue> class.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty Collection

Gets or sets the source 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.)

System_CAPS_pubproperty Values

Gets the set of values to add to the collection.

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