ConcurrentDictionaryCopier<TKey,TValue>.DeepCopy 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
DeepCopy(ConcurrentDictionary<TKey,TValue>, CopyContext) |
建立所提供輸入的深層複本。 |
DeepCopy(ConcurrentDictionary<TKey,TValue>, ConcurrentDictionary<TKey,TValue>, CopyContext) |
從 複製成員 |
DeepCopy(ConcurrentDictionary<TKey,TValue>, CopyContext)
建立所提供輸入的深層複本。
public System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> DeepCopy (System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> input, Orleans.Serialization.Cloning.CopyContext context);
abstract member DeepCopy : System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * Orleans.Serialization.Cloning.CopyContext -> System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value>
override this.DeepCopy : System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * Orleans.Serialization.Cloning.CopyContext -> System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value>
Public Function DeepCopy (input As ConcurrentDictionary(Of TKey, TValue), context As CopyContext) As ConcurrentDictionary(Of TKey, TValue)
參數
- input
- ConcurrentDictionary<TKey,TValue>
輸入。
- context
- CopyContext
內容。
傳回
ConcurrentDictionary<TKey,TValue>
input
的複本。
實作
適用於
DeepCopy(ConcurrentDictionary<TKey,TValue>, ConcurrentDictionary<TKey,TValue>, CopyContext)
從 複製成員 input
,並將其複製到 output
。
public void DeepCopy (System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> input, System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> output, Orleans.Serialization.Cloning.CopyContext context);
abstract member DeepCopy : System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * Orleans.Serialization.Cloning.CopyContext -> unit
override this.DeepCopy : System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * Orleans.Serialization.Cloning.CopyContext -> unit
Public Sub DeepCopy (input As ConcurrentDictionary(Of TKey, TValue), output As ConcurrentDictionary(Of TKey, TValue), context As CopyContext)
參數
- input
- ConcurrentDictionary<TKey,TValue>
輸入。
- output
- ConcurrentDictionary<TKey,TValue>
輸出。
- context
- CopyContext
內容。