Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: TElement FormatDictionary(IEnumerable<KeyValuePair<object, TElement>>)

Declaration

public TElement FormatDictionary(
    IEnumerable<KeyValuePair<object, TElement>> values
)

Summary

Generates an element that represents a dictionary.

Parameters

IEnumerable<KeyValuePair<object, TElement>>values The key-value pairs that compose the dictionary. The keys may be strings, integers, or enum values.

Returns

The serialized dictionary.

Remarks

The returned element should be recognized by IClassifyFormat<TElement>.GetDictionary(TElement).