TypeCodeDomSerializer Class
Definition
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 an object to a new type.
public ref class TypeCodeDomSerializer : System::ComponentModel::Design::Serialization::CodeDomSerializerBase
public class TypeCodeDomSerializer : System.ComponentModel.Design.Serialization.CodeDomSerializerBase
type TypeCodeDomSerializer = class
inherit CodeDomSerializerBase
Public Class TypeCodeDomSerializer
Inherits CodeDomSerializerBase
- Inheritance
- Derived
Remarks
The TypeCodeDomSerializer class performs the same tasks as a CodeDomSerializer, but serializing an object through this class defines a new type.
Constructors
TypeCodeDomSerializer() |
Initializes a new instance of the TypeCodeDomSerializer class. |
Methods
Deserialize(IDesignerSerializationManager, CodeTypeDeclaration) |
Deserializes the given type declaration. |
DeserializeExpression(IDesignerSerializationManager, String, CodeExpression) |
Deserializes the given expression into an in-memory object. (Inherited from CodeDomSerializerBase) |
DeserializeInstance(IDesignerSerializationManager, Type, Object[], String, Boolean) |
Returns an instance of the given type. (Inherited from CodeDomSerializerBase) |
DeserializePropertiesFromResources(IDesignerSerializationManager, Object, Attribute[]) |
Deserializes properties on the given object from the invariant culture's resource bundle. (Inherited from CodeDomSerializerBase) |
DeserializeStatement(IDesignerSerializationManager, CodeStatement) |
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) |
GetExpression(IDesignerSerializationManager, Object) |
Returns an expression for the given object. (Inherited from CodeDomSerializerBase) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetInitializeMethod(IDesignerSerializationManager, CodeTypeDeclaration, Object) |
Returns the method where statements used to serialize a member are stored. |
GetInitializeMethods(IDesignerSerializationManager, CodeTypeDeclaration) |
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(IDesignerSerializationManager, Object) |
Returns a unique name for the given object. (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) |
IsSerialized(IDesignerSerializationManager, Object) |
Returns a value indicating whether the given object has been serialized. (Inherited from CodeDomSerializerBase) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Serialize(IDesignerSerializationManager, Object, ICollection) |
Serializes the object root by creating a new type declaration that defines root. |
SerializeCreationExpression(IDesignerSerializationManager, Object, Boolean) |
Returns an expression representing the creation of the given object. (Inherited from CodeDomSerializerBase) |
SerializeEvent(IDesignerSerializationManager, CodeStatementCollection, Object, EventDescriptor) |
Serializes the given event into the given statement collection. (Inherited from CodeDomSerializerBase) |
SerializeEvents(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) |
Serializes the specified events into the given statement collection. (Inherited from CodeDomSerializerBase) |
SerializeProperties(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) |
Serializes the properties on the given object into the given statement collection. (Inherited from CodeDomSerializerBase) |
SerializePropertiesToResources(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[]) |
Serializes the properties on the given object into the invariant culture's resource bundle. (Inherited from CodeDomSerializerBase) |
SerializeProperty(IDesignerSerializationManager, CodeStatementCollection, Object, PropertyDescriptor) |
Serializes a property on the given object. (Inherited from CodeDomSerializerBase) |
SerializeResource(IDesignerSerializationManager, String, Object) |
Serializes the given object into a resource bundle using the given resource name. (Inherited from CodeDomSerializerBase) |
SerializeResourceInvariant(IDesignerSerializationManager, String, Object) |
Serializes the given object into a resource bundle using the given resource name. (Inherited from CodeDomSerializerBase) |
SerializeToExpression(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) |
SerializeToResourceExpression(IDesignerSerializationManager, Object) |
Serializes the given object into an expression. (Inherited from CodeDomSerializerBase) |
SetExpression(IDesignerSerializationManager, Object, CodeExpression, Boolean) |
Associates an object with an expression, optionally specifying a preset expression. (Inherited from CodeDomSerializerBase) |
SetExpression(IDesignerSerializationManager, Object, CodeExpression) |
Associates an object with an expression. (Inherited from CodeDomSerializerBase) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |