ComponentSerializationService.CreateStore Method

Definition

Creates a new SerializationStore.

public:
 abstract System::ComponentModel::Design::Serialization::SerializationStore ^ CreateStore();
public abstract System.ComponentModel.Design.Serialization.SerializationStore CreateStore ();
abstract member CreateStore : unit -> System.ComponentModel.Design.Serialization.SerializationStore
Public MustOverride Function CreateStore () As SerializationStore

Returns

A new created serialization store.

Remarks

Multiple objects can be serialized into the same serialization store. When you are finished with the store, you can call its IDisposable.Dispose or Close method. Once closed, a serialization store can be used for deserialization, or it can be saved into a stream.

The serialization store can be passed to any of the various serializing methods to build up serialization state for a group of objects.

Applies to

See also