GetItemFromCollection<TItem> Class

 

An activity to get an item from 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.GetItemFromCollection<TItem>

Syntax

[ContentPropertyAttribute("Collection")]
public sealed class GetItemFromCollection<TItem> : CodeActivity<TItem>
generic<typename TItem>
[ContentPropertyAttribute("Collection")]
public ref class GetItemFromCollection sealed : CodeActivity<TItem>
[<Sealed>]
[<ContentPropertyAttribute("Collection")>]
type GetItemFromCollection<'TItem> = 
    class
        inherit CodeActivity<'TItem>
    end
<ContentPropertyAttribute("Collection")>
Public NotInheritable Class GetItemFromCollection(Of TItem)
    Inherits CodeActivity(Of TItem)

Type Parameters

  • TItem
    The type of the item.

Constructors

Name Description
System_CAPS_pubmethod GetItemFromCollection<TItem>()

Initializes a new instance of the GetItemFromCollection<TItem> class.

System_CAPS_pubmethod GetItemFromCollection<TItem>(InArgument<ICollection<TItem>>, InArgument<Int32>)

Initializes a new instance of the GetItemFromCollection<TItem> class.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty Collection

Gets or sets the collection of items.

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 Index

Gets or sets the index of the item to return.

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