Редагувати

Поділитися через


CodeDomComponentSerializationService.Serialize Method

Definition

Serializes the given object to the given SerializationStore.

public:
 override void Serialize(System::ComponentModel::Design::Serialization::SerializationStore ^ store, System::Object ^ value);
public override void Serialize (System.ComponentModel.Design.Serialization.SerializationStore store, object value);
override this.Serialize : System.ComponentModel.Design.Serialization.SerializationStore * obj -> unit
Public Overrides Sub Serialize (store As SerializationStore, value As Object)

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