CollectionCodeDomSerializer CollectionCodeDomSerializer CollectionCodeDomSerializer CollectionCodeDomSerializer Class

Definition

Serializes collections.

public ref class CollectionCodeDomSerializer : System::ComponentModel::Design::Serialization::CodeDomSerializer
public class CollectionCodeDomSerializer : System.ComponentModel.Design.Serialization.CodeDomSerializer
type CollectionCodeDomSerializer = class
    inherit CodeDomSerializer
Public Class CollectionCodeDomSerializer
Inherits CodeDomSerializer
Inheritance
CollectionCodeDomSerializerCollectionCodeDomSerializerCollectionCodeDomSerializerCollectionCodeDomSerializer

Remarks

The CollectionCodeDomSerializer class can create either statements or expressions. If the object to serialize is an array, the CollectionCodeDomSerializer will create an expression and assign it to the statement in the current context stack. If the object is a collection with an AddRange or similar method, the CollectionCodeDomSerializer will create a statement that calls the method.

Constructors

CollectionCodeDomSerializer() CollectionCodeDomSerializer() CollectionCodeDomSerializer() CollectionCodeDomSerializer()

Initializes a new instance of the CollectionCodeDomSerializer class.

Methods

Deserialize(IDesignerSerializationManager, Object) Deserialize(IDesignerSerializationManager, Object) Deserialize(IDesignerSerializationManager, Object) Deserialize(IDesignerSerializationManager, Object)

Deserializes the specified serialized CodeDOM object into an object.

(Inherited from CodeDomSerializer)
DeserializeExpression(IDesignerSerializationManager, String, CodeExpression) DeserializeExpression(IDesignerSerializationManager, String, CodeExpression) DeserializeExpression(IDesignerSerializationManager, String, CodeExpression) DeserializeExpression(IDesignerSerializationManager, String, CodeExpression)

Deserializes the specified expression.

(Inherited from CodeDomSerializer)
DeserializePropertiesFromResources(IDesignerSerializationManager, Object, Attribute[]) DeserializePropertiesFromResources(IDesignerSerializationManager, Object, Attribute[]) DeserializePropertiesFromResources(IDesignerSerializationManager, Object, Attribute[]) DeserializePropertiesFromResources(IDesignerSerializationManager, Object, Attribute[])

Deserializes the properties of the specified object that match the specified filter, if a filter was specified.

(Inherited from CodeDomSerializer)
DeserializeStatement(IDesignerSerializationManager, CodeStatement) DeserializeStatement(IDesignerSerializationManager, CodeStatement) DeserializeStatement(IDesignerSerializationManager, CodeStatement) DeserializeStatement(IDesignerSerializationManager, CodeStatement)

Deserializes the specified statement.

(Inherited from CodeDomSerializer)
DeserializeStatementToInstance(IDesignerSerializationManager, CodeStatement) DeserializeStatementToInstance(IDesignerSerializationManager, CodeStatement) DeserializeStatementToInstance(IDesignerSerializationManager, CodeStatement) DeserializeStatementToInstance(IDesignerSerializationManager, CodeStatement)

Deserializes a single statement.

(Inherited from CodeDomSerializer)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetTargetComponentName(CodeStatement, CodeExpression, Type) GetTargetComponentName(CodeStatement, CodeExpression, Type) GetTargetComponentName(CodeStatement, CodeExpression, Type) GetTargetComponentName(CodeStatement, CodeExpression, Type)

Determines which statement group the given statement should belong to.

(Inherited from CodeDomSerializer)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MethodSupportsSerialization(MethodInfo) MethodSupportsSerialization(MethodInfo) MethodSupportsSerialization(MethodInfo) MethodSupportsSerialization(MethodInfo)

Verifies serialization support by the method.

Serialize(IDesignerSerializationManager, Object) Serialize(IDesignerSerializationManager, Object) Serialize(IDesignerSerializationManager, Object) Serialize(IDesignerSerializationManager, Object)

Serializes the given collection into a CodeDOM object.

SerializeAbsolute(IDesignerSerializationManager, Object) SerializeAbsolute(IDesignerSerializationManager, Object) SerializeAbsolute(IDesignerSerializationManager, Object) SerializeAbsolute(IDesignerSerializationManager, Object)

Serializes the given object, accounting for default values.

(Inherited from CodeDomSerializer)
SerializeCollection(IDesignerSerializationManager, CodeExpression, Type, ICollection, ICollection) SerializeCollection(IDesignerSerializationManager, CodeExpression, Type, ICollection, ICollection) SerializeCollection(IDesignerSerializationManager, CodeExpression, Type, ICollection, ICollection) SerializeCollection(IDesignerSerializationManager, CodeExpression, Type, ICollection, ICollection)

Serializes the given collection.

SerializeEvents(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) SerializeEvents(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) SerializeEvents(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) SerializeEvents(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[])

Serializes all events of the specified object.

(Inherited from CodeDomSerializer)
SerializeMember(IDesignerSerializationManager, Object, MemberDescriptor) SerializeMember(IDesignerSerializationManager, Object, MemberDescriptor) SerializeMember(IDesignerSerializationManager, Object, MemberDescriptor) SerializeMember(IDesignerSerializationManager, Object, MemberDescriptor)

Serializes the given member on the given object.

(Inherited from CodeDomSerializer)
SerializeMemberAbsolute(IDesignerSerializationManager, Object, MemberDescriptor) SerializeMemberAbsolute(IDesignerSerializationManager, Object, MemberDescriptor) SerializeMemberAbsolute(IDesignerSerializationManager, Object, MemberDescriptor) SerializeMemberAbsolute(IDesignerSerializationManager, Object, MemberDescriptor)

Serializes the given member, accounting for default values.

(Inherited from CodeDomSerializer)
SerializeProperties(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) SerializeProperties(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) SerializeProperties(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) SerializeProperties(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[])

Serializes all properties for the specified object, using the specified filter.

(Inherited from CodeDomSerializer)
SerializePropertiesToResources(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) SerializePropertiesToResources(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) SerializePropertiesToResources(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) SerializePropertiesToResources(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[])

Serializes the specified properties to resources.

(Inherited from CodeDomSerializer)
SerializeResource(IDesignerSerializationManager, String, Object) SerializeResource(IDesignerSerializationManager, String, Object) SerializeResource(IDesignerSerializationManager, String, Object) SerializeResource(IDesignerSerializationManager, String, Object) Inherited from CodeDomSerializer
SerializeResourceInvariant(IDesignerSerializationManager, String, Object) SerializeResourceInvariant(IDesignerSerializationManager, String, Object) SerializeResourceInvariant(IDesignerSerializationManager, String, Object) SerializeResourceInvariant(IDesignerSerializationManager, String, Object) Inherited from CodeDomSerializer
SerializeToExpression(IDesignerSerializationManager, Object) SerializeToExpression(IDesignerSerializationManager, Object) SerializeToExpression(IDesignerSerializationManager, Object) SerializeToExpression(IDesignerSerializationManager, Object)

Serializes the specified value to a CodeDOM expression.

(Inherited from CodeDomSerializer)
SerializeToReferenceExpression(IDesignerSerializationManager, Object) SerializeToReferenceExpression(IDesignerSerializationManager, Object) SerializeToReferenceExpression(IDesignerSerializationManager, Object) SerializeToReferenceExpression(IDesignerSerializationManager, Object)

Serializes the specified value to a CodeDOM expression.

(Inherited from CodeDomSerializer)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also