IDesignerSerializationService.Serialize(ICollection) Method
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 specified collection of objects and stores them in a serialization data object.
public:
System::Object ^ Serialize(System::Collections::ICollection ^ objects);
public object Serialize(System.Collections.ICollection objects);
abstract member Serialize : System.Collections.ICollection -> obj
Public Function Serialize (objects As ICollection) As Object
- objects
- ICollection
A collection of objects to serialize.
An object that contains the serialized state of the specified collection of objects.
The returned object fully supports run-time serialization.
The object returned from this method contains live references to objects in the collection. This object can then be passed to any run-time serialization mechanism. The object itself serializes components the same way designers write source for them, by storing their state, property by property.
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: