Deli z drugimi prek


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

 

Applies To: Dynamics CRM 2015

Gets or sets the value associated with the specified key.

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

Syntax

public virtual TValue this[
    TKey key
] { get; set; }
public:
property TValue default[
    TKey key
] {
    virtual TValue get(TKey key);
    virtual void set(TKey key, TValue value);
}
abstract Item : 
        key:'TKey -> 'TValue with get, set
override Item : 
        key:'TKey -> 'TValue with get, set
Public Overridable Property Item (
    key As TKey
) As TValue

Parameters

  • 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

© 2016 Microsoft. All rights reserved. Copyright