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

 

Serializes the given object to the given SerializationStore.

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

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

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