ReadOnlyDictionaryCodec<TKey,TValue>.ConvertFromSurrogate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public override System.Collections.ObjectModel.ReadOnlyDictionary<TKey,TValue> ConvertFromSurrogate (ref Orleans.Serialization.Codecs.ReadOnlyDictionarySurrogate<TKey,TValue> surrogate);
override this.ConvertFromSurrogate : ReadOnlyDictionarySurrogate -> System.Collections.ObjectModel.ReadOnlyDictionary<'Key, 'Value>
Public Overrides Function ConvertFromSurrogate (ByRef surrogate As ReadOnlyDictionarySurrogate(Of TKey, TValue)) As ReadOnlyDictionary(Of TKey, TValue)
參數
- surrogate
- ReadOnlyDictionarySurrogate<TKey,TValue>
傳回
ReadOnlyDictionary<TKey,TValue>