This documentation is archived and is not being maintained.
TypeCodeDomSerializer Class
Visual Studio 2010
Serializes an object to a new type.
System::Object
System.ComponentModel.Design.Serialization::CodeDomSerializerBase
System.ComponentModel.Design.Serialization::TypeCodeDomSerializer
System.Workflow.ComponentModel.Serialization::ActivityTypeCodeDomSerializer
System.ComponentModel.Design.Serialization::CodeDomSerializerBase
System.ComponentModel.Design.Serialization::TypeCodeDomSerializer
System.Workflow.ComponentModel.Serialization::ActivityTypeCodeDomSerializer
Assembly: System.Design (in System.Design.dll)
The TypeCodeDomSerializer type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TypeCodeDomSerializer | Initializes a new instance of the TypeCodeDomSerializer class. |
| Name | Description | |
|---|---|---|
![]() | Deserialize | Deserializes the given type declaration. |
![]() | DeserializeExpression | Deserializes the given expression into an in-memory object. (Inherited from CodeDomSerializerBase.) |
![]() | DeserializeInstance | Returns an instance of the given type. (Inherited from CodeDomSerializerBase.) |
![]() | DeserializePropertiesFromResources | Deserializes properties on the given object from the invariant culture’s resource bundle. (Inherited from CodeDomSerializerBase.) |
![]() | DeserializeStatement | Deserializes a statement by interpreting and executing a CodeDOM statement. (Inherited from CodeDomSerializerBase.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetExpression | Returns an expression for the given object. (Inherited from CodeDomSerializerBase.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetInitializeMethod | Returns the method where statements used to serialize a member are stored. |
![]() | GetInitializeMethods | Returns an array of methods to be interpreted during deserialization. |
![]() | GetSerializer(IDesignerSerializationManager, Object) | Locates a serializer for the given object value. (Inherited from CodeDomSerializerBase.) |
![]() | GetSerializer(IDesignerSerializationManager, Type) | Locates a serializer for the given type. (Inherited from CodeDomSerializerBase.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUniqueName | Returns a unique name for the given object. (Inherited from CodeDomSerializerBase.) |
![]() | IsSerialized(IDesignerSerializationManager, Object) | Returns a value indicating whether the given object has been serialized. (Inherited from CodeDomSerializerBase.) |
![]() | IsSerialized(IDesignerSerializationManager, Object, Boolean) | Returns a value indicating whether the given object has been serialized, optionally considering preset expressions. (Inherited from CodeDomSerializerBase.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Serialize | Serializes the object root by creating a new type declaration that defines root. |
![]() | SerializeCreationExpression | Returns an expression representing the creation of the given object. (Inherited from CodeDomSerializerBase.) |
![]() | SerializeEvent | Serializes the given event into the given statement collection. (Inherited from CodeDomSerializerBase.) |
![]() | SerializeEvents | Serializes the specified events into the given statement collection. (Inherited from CodeDomSerializerBase.) |
![]() | SerializeProperties | Serializes the properties on the given object into the given statement collection. (Inherited from CodeDomSerializerBase.) |
![]() | SerializePropertiesToResources | Serializes the properties on the given object into the invariant culture’s resource bundle. (Inherited from CodeDomSerializerBase.) |
![]() | SerializeProperty | Serializes a property on the given object. (Inherited from CodeDomSerializerBase.) |
![]() | SerializeResource | Serializes the given object into a resource bundle using the given resource name. (Inherited from CodeDomSerializerBase.) |
![]() | SerializeResourceInvariant | Serializes the given object into a resource bundle using the given resource name. (Inherited from CodeDomSerializerBase.) |
![]() | SerializeToExpression | Serializes the given object into an expression. (Inherited from CodeDomSerializerBase.) |
![]() | SerializeToResourceExpression(IDesignerSerializationManager, Object) | Serializes the given object into an expression. (Inherited from CodeDomSerializerBase.) |
![]() | SerializeToResourceExpression(IDesignerSerializationManager, Object, Boolean) | Serializes the given object into an expression appropriate for the invariant culture. (Inherited from CodeDomSerializerBase.) |
![]() | SetExpression(IDesignerSerializationManager, Object, CodeExpression) | Associates an object with an expression. (Inherited from CodeDomSerializerBase.) |
![]() | SetExpression(IDesignerSerializationManager, Object, CodeExpression, Boolean) | Associates an object with an expression, optionally specifying a preset expression. (Inherited from CodeDomSerializerBase.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The TypeCodeDomSerializer class performs the same tasks as a CodeDomSerializer, but serializing an object through this class defines a new type.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
