Compartir a través de


Map.Override Method (D, R)

Add a key-value pair to the map, delivering a new map. If the key already exists in the map, the key's value will be replaced instead.

Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
public Map<D,R> Override (
    D key,
    R value
)

Parameters

  • key
  • value

Return Value

Returns Map.

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

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

Map Generic Class
Map Members
Microsoft.Modeling Namespace