DictionaryContains<TKey, TValue> Class

 

An activity to check if a dictionary contains a particular item.

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.DictionaryContains<TKey, TValue>

Syntax

public sealed class DictionaryContains<TKey, TValue> : CodeActivity<bool>
generic<typename TKey, typename TValue>
public ref class DictionaryContains sealed : CodeActivity<bool>
[<Sealed>]
type DictionaryContains<'TKey, 'TValue> = 
    class
        inherit CodeActivity<bool>
    end
Public NotInheritable Class DictionaryContains(Of TKey, TValue)
    Inherits CodeActivity(Of Boolean)

Type Parameters

  • TKey
    The type of key.
  • TValue
    The type of value.

Constructors

Name Description
System_CAPS_pubmethod DictionaryContains<TKey, TValue>()

Initializes a new instance of the DictionaryContains<TKey, TValue> class.

System_CAPS_pubmethod DictionaryContains<TKey, TValue>(InArgument<IDictionary<TKey, TValue>>, InArgument<TKey>)

Initializes a new instance of the DictionaryContains<TKey, TValue> class.

System_CAPS_pubmethod DictionaryContains<TKey, TValue>(InArgument<IDictionary<TKey, TValue>>, InArgument<TKey>, InArgument<TValue>)

Initializes a new instance of the DictionaryContains<TKey, TValue> class.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty Dictionary

Gets or sets the dictionary to search.

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 Key

Gets or sets the key to search for.

System_CAPS_pubproperty Result

(Inherited from Activity<TResult>.)

System_CAPS_pubproperty ResultType

(Inherited from ActivityWithResult.)

System_CAPS_pubproperty Value

Gets or sets the value to match.

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