ModelItemDictionary.IDictionary.Add Method

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

Adds an element with the provided key and value to the IDictionary object.

Namespace:  System.Activities.Design.Model
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Private Sub Add ( _
    key As Object, _
    value As Object _
) Implements IDictionary.Add
'Usage
Dim instance As ModelItemDictionary
Dim key As Object
Dim value As Object

CType(instance, IDictionary).Add(key, value)
void IDictionary.Add(
    Object key,
    Object value
)
private:
virtual void Add(
    Object^ key, 
    Object^ value
) sealed = IDictionary::Add
JScript does not support explicit interface implementations.
private abstract Add : 
        key:Object * 
        value:Object -> unit 
private override Add : 
        key:Object * 
        value:Object -> unit 

Parameters

  • key
    Type: System.Object
    The object to use as the key of the element to add.
  • value
    Type: System.Object
    The object to use as the value of the element to add.

Implements

IDictionary.Add(Object, Object)

.NET Framework Security

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

ModelItemDictionary Class

ModelItemDictionary Members

System.Activities.Design.Model Namespace