Udostępnij za pośrednictwem


IMap.PutAll(IDictionary) Method

Definition

Copies all of the mappings from the specified map to this map (optional operation).

[Android.Runtime.Register("putAll", "(Ljava/util/Map;)V", "GetPutAll_Ljava_util_Map_Handler:Java.Util.IMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void PutAll (System.Collections.IDictionary m);
[<Android.Runtime.Register("putAll", "(Ljava/util/Map;)V", "GetPutAll_Ljava_util_Map_Handler:Java.Util.IMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member PutAll : System.Collections.IDictionary -> unit

Parameters

m
IDictionary

mappings to be stored in this map

Attributes

Remarks

Copies all of the mappings from the specified map to this map (optional operation). The effect of this call is equivalent to that of calling #put(Object,Object) put(k, v) on this map once for each mapping from key k to value v in the specified map. The behavior of this operation is undefined if the specified map is modified while the operation is in progress.

Java documentation for java.util.Map.putAll(java.util.Map<? extends K, ? extends V>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to