Edit

Share via


CodeDomComponentSerializationService.Serialize Method

Definition

Serializes the given object to the given SerializationStore.

C#
public override void Serialize(System.ComponentModel.Design.Serialization.SerializationStore store, object value);

Parameters

store
SerializationStore

The SerializationStore to which value will be serialized.

value
Object

The object to serialize.

Exceptions

store or value is null.

store is closed, or store is not a supported type of serialization store. Use a store returned by CreateStore().

Remarks

The store parameter can be used to serialize more than one object by calling this method once for each object.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10