ComponentSerializationService.Serialize(SerializationStore, Object) 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:
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.