AddToDictionary<TKey, TValue> Class
Updated: July 3, 2012
An activity to add a key and value to a dictionary.
Namespace: Microsoft.Activities
Assembly: Microsoft.Activities (in Microsoft.Activities.dll)
Inheritance Hierarchy
System.Object
System.Activities.Activity
System.Activities.CodeActivity
Microsoft.Activities.AddToDictionary<TKey, TValue>
Syntax
public sealed class AddToDictionary<TKey, TValue> : CodeActivity
generic<typename TKey, typename TValue>
public ref class AddToDictionary sealed : CodeActivity
[<Sealed>]
type AddToDictionary<'TKey, 'TValue> =
class
inherit CodeActivity
end
Public NotInheritable Class AddToDictionary(Of TKey, TValue)
Inherits CodeActivity
Type Parameters
- TKey
The type of the key.
- TValue
The type of the value.
Constructors
Name | Description | |
---|---|---|
AddToDictionary<TKey, TValue>() | Initializes a new instance of the AddToDictionary<TKey, TValue> class. |
|
AddToDictionary<TKey, TValue>(InArgument<IDictionary<TKey, TValue>>, InArgument<TKey>, InArgument<TValue>) | Initializes a new instance of the AddToDictionary<TKey, TValue> class. |
Properties
Name | Description | |
---|---|---|
CacheId | (Inherited from Activity.) |
|
Dictionary | Gets or sets the target dictionary. |
|
DisplayName | (Inherited from Activity.) |
|
Id | (Inherited from Activity.) |
|
ImplementationVersion | (Inherited from CodeActivity.) |
|
Key | Gets or sets the key to be added. |
|
Value | Gets or sets the value to be added. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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