ComponentSerializationService::Serialize Method (SerializationStore^, Object^)
.NET Framework (current version)
Serializes the given object to the given SerializationStore.
Assembly: System (in System.dll)
Parameters
- store
-
Type:
System.ComponentModel.Design.Serialization::SerializationStore^
The SerializationStore to which the state of value will be written.
- 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 can be used to serialize more than one object by calling this method more than once.
.NET Framework
Available since 2.0
Available since 2.0
Show: