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

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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 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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright