CodeDomComponentSerializationService.Serialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.