IDesignerSerializationService::Serialize Method (ICollection^)

 

Serializes the specified collection of objects and stores them in a serialization data object.

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

Object^ Serialize(
	ICollection^ objects
)

Parameters

objects
Type: System.Collections::ICollection^

A collection of objects to serialize.

Return Value

Type: System::Object^

An object that contains the serialized state of the specified collection of objects.

The returned object fully supports run-time serialization.

The object returned from this method contains live references to objects in the collection. This object can then be passed to any run-time serialization mechanism. The object itself serializes components the same way designers write source for them, by storing their state, property by property.

.NET Framework
Available since 1.1
Return to top
Show: