ComponentSerializationService::Serialize Method (SerializationStore^, Object^)

 

Serializes the given object to the given SerializationStore.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System (in System.dll)

public:
virtual void Serialize(
	SerializationStore^ store,
	Object^ value
) abstract

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
Return to top
Show: