Share via


LazyDictionary.Add Method (TKey, TValue)

Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim instance As LazyDictionary(Of TKey, TValue)
Dim key As TKey
Dim value As TValue

instance.Add(key, value)

Syntax

'Declaration
Public Sub Add ( _
    key As TKey, _
    value As TValue _
)
public void Add (
    TKey key,
    TValue value
)
public:
virtual void Add (
    TKey key, 
    TValue value
) sealed
public final void Add (
    TKey key, 
    TValue value
)
public final function Add (
    key : TKey, 
    value : TValue
)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

LazyDictionary Class
LazyDictionary Members
Microsoft.WindowsAzure.Common.Internals Namespace