Share via


ExistsInCollection<T> Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Indicates whether a given item is present in a given collection.

Namespace:  System.Activities.Core
Assembly:  System.Activities.Core (in System.Activities.Core.dll)

Syntax

'Declaration
<ContentPropertyAttribute("Collection")> _
Public NotInheritable Class ExistsInCollection(Of T) _
    Inherits CodeActivity(Of Boolean)
'Usage
Dim instance As ExistsInCollection(Of T)
[ContentPropertyAttribute("Collection")]
public sealed class ExistsInCollection<T> : CodeActivity<bool>
[ContentPropertyAttribute(L"Collection")]
generic<typename T>
public ref class ExistsInCollection sealed : public CodeActivity<bool>
JScript does not support generic types or methods.
[<SealedAttribute>]
[<ContentPropertyAttribute("Collection")>]
type ExistsInCollection<'T> =  
    class
        inherit CodeActivity<bool>
    end

Type Parameters

  • T
    The type of elements in the specified collection.

Inheritance Hierarchy

System.Object
  System.Activities.WorkflowElement
    System.Activities.WorkflowElement<Boolean>
      System.Activities.CodeActivity<Boolean>
        System.Activities.Core.ExistsInCollection<T>

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.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

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

Version Information

.NET Framework

Supported in: 4

See Also

Reference

ExistsInCollection<T> Members

System.Activities.Core Namespace