Share via


DataCollection<TKey, TValue>.Add Method (TKey, TValue)

 

Applies To: Dynamics CRM 2015

Adds the specified key and value to the dictionary.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public void Add(
    TKey key,
    TValue value
)
public:
void Add(
    TKey key,
    TValue value
)
member Add : 
        key:'TKey *
        value:'TValue -> unit
Public Sub Add (
    key As TKey,
    value As TValue
)

Parameters

  • key
    Type: TKey

    Type: TKey. The key of the element to add.

  • value
    Type: TValue

    Type: TValue. The value of the element to add.

See Also

Add Overload
DataCollection<TKey, TValue> Class
Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright