Επεξεργασία

Κοινή χρήση μέσω


ComponentSerializationService.Serialize(SerializationStore, Object) Method

Definition

Serializes the given object to the given SerializationStore.

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

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

See also