Redigera

Dela via


IDesignerSerializationService.Serialize(ICollection) Method

Definition

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

public:
 System::Object ^ Serialize(System::Collections::ICollection ^ objects);
public object Serialize (System.Collections.ICollection objects);
abstract member Serialize : System.Collections.ICollection -> obj
Public Function Serialize (objects As ICollection) As Object

Parameters

objects
ICollection

A collection of objects to serialize.

Returns

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

Remarks

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.

Applies to