CodeDomComponentSerializationService::Serialize Method (SerializationStore^, Object^)
.NET Framework (current version)
Serializes the given object to the given SerializationStore.
Assembly: System.Design (in System.Design.dll)
Parameters
- store
-
Type:
System.ComponentModel.Design.Serialization::SerializationStore^
The SerializationStore to which value will be serialized.
- value
-
Type:
System::Object^
The object to serialize.
| Exception | Condition |
|---|---|
| ArgumentNullException | store or value is null. |
| InvalidOperationException | store is closed, or store is not a supported type of serialization store. Use a store returned by CreateStore. |
The store parameter can be used to serialize more than one object by calling this method once for each object.
.NET Framework
Available since 2.0
Available since 2.0
Show: