System.ComponentModel.Design.Serialization.CollectionCodeDomSerializer Class

Serializes collections.

See Also: CollectionCodeDomSerializer Members

Syntax

public class CollectionCodeDomSerializer : CodeDomSerializer

Remarks

The System.ComponentModel.Design.Serialization.CollectionCodeDomSerializer class can create either statements or expressions. If the object to serialize is an array, the System.ComponentModel.Design.Serialization.CollectionCodeDomSerializer will create an expression and assign it to the statement in the current context stack. If the object is a collection with an AddRange or similar method, the System.ComponentModel.Design.Serialization.CollectionCodeDomSerializer will create a statement that calls the method.

Requirements

Namespace: System.ComponentModel.Design.Serialization
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0