DataCollection<TKey, TValue>.Item Property (TKey)


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

Gets or sets the value associated with the specified key.

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


public virtual TValue this[
    TKey key
] { get; set; }
Public Overridable Property Item (
    key As TKey
) As TValue


  • key
    Type: TKey

    Type: TKey. The key of the value to get or set.

Property Value

Type: TValue

Type: TValue
The value associated with the specified key.

See Also

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright