ComponentSerializationService.Serialize(SerializationStore, Object) Method

Definition

Serializes the given object to the given SerializationStore.

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

Parameters

store
SerializationStore

The SerializationStore to which the state of value will be written.

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 can be used to serialize more than one object by calling this method more than once.

Applies to

Производ Верзије
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.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
.NET Standard 2.0, 2.1

See also