日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class SerializableDictionary<TKey, TValue>

    Generic Dictionary helper class that handles serialization of keys and values into lists before/after serialization time since Dictionary by itself is not Serializable. Extends C# Dictionary class to support typical API access methods

    Inheritance
    Object
    SerializableDictionary<TKey, TValue>
    Implements
    ISerializationCallbackReceiver
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, ISerializationCallbackReceiver
    Type Parameters
    Name Description
    TKey

    Key type for Dictionary

    TValue

    Value type for Dictionary

    Methods

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()

    Implements

    ISerializationCallbackReceiver
    Back to top Generated by DocFX