System.ComponentModel.Design.Serialization 命名空间

System.ComponentModel.Design.Serialization 命名空间提供在设计时对序列化进行自定义和控制的类型。 The System.ComponentModel.Design.Serialization namespace provides types that support customization and control of serialization at design time.

BasicDesignerLoader

提供 IDesignerLoaderService 接口的实现。Provides an implementation of the IDesignerLoaderService interface.

CodeDomComponentSerializationService

将一组组件序列化到一个序化列存储区中。Serializes a set of components into a serialization store.

CodeDomDesignerLoader

提供用于实现基于 CodeDOM 的设计器加载程序的基类。Provides the base class for implementing a CodeDOM-based designer loader.

CodeDomLocalizationProvider

提供 CodeDOM 资源序列化服务。Provides CodeDOM resource serialization services. 无法继承此类。This class cannot be inherited.

CodeDomSerializer

将对象图序列化为一系列 CodeDOM 语句。Serializes an object graph to a series of CodeDOM statements. 此类提供序列化程序的抽象基类。This class provides an abstract base class for a serializer.

CodeDomSerializerBase

CodeDomSerializer 类提供基类。Provides a base class for CodeDomSerializer classes.

CodeDomSerializerException

当行号信息可用于序列化错误时引发的异常。The exception that is thrown when line number information is available for a serialization error.

CollectionCodeDomSerializer

序列化集合。Serializes collections.

ComponentSerializationService

提供用于将一组组件或可序列化的对象序列化到序列化存储区的基类。Provides the base class for serializing a set of components or serializable objects into a serialization store.

ContextStack

提供堆栈对象,序列化程序可使用该对象向嵌套的序列化程序提供信息。Provides a stack object that can be used by a serializer to make information available to nested serializers.

DefaultSerializationProviderAttribute

DefaultSerializationProviderAttribute 特性被放置在序列化程序上,以指示要用作该类型序列化程序的默认提供程序的类。The DefaultSerializationProviderAttribute attribute is placed on a serializer to indicate the class to use as a default provider of that type of serializer.

DesignerLoader

提供可用于实现自定义设计器加载程序的基本设计器加载程序接口。Provides a basic designer loader interface that can be used to implement a custom designer loader.

DesignerSerializationManager

提供 IDesignerSerializationManager 接口的实现。Provides an implementation of the IDesignerSerializationManager interface.

DesignerSerializerAttribute

指示某个序列化管理器的序列化程序,它将用于序列化此特性所应用到的类型的值。Indicates a serializer for the serialization manager to use to serialize the values of the type this attribute is applied to. 无法继承此类。This class cannot be inherited.

ExpressionContext

提供一种在序列化程序之间传递上下文状态的方法。Provides a means of passing context state among serializers. 无法继承此类。This class cannot be inherited.

InstanceDescriptor

提供创建对象的实例所需的信息。Provides the information necessary to create an instance of an object. 无法继承此类。This class cannot be inherited.

MemberCodeDomSerializer

提供用于序列化对象图内的反射基元的基类。Provides the base class for serializing a reflection primitive within the object graph.

MemberRelationshipService

提供用于将一个成员与另一个成员相关的基类。Provides the base class for relating one member to another.

ObjectStatementCollection

保存一个由 StatementContext 提供的语句表。Holds a table of statements that is offered by the StatementContext. 无法继承此类。This class cannot be inherited.

ResolveNameEventArgs

ResolveName 事件提供数据。Provides data for the ResolveName event.

RootContext

CodeDomSerializer 可添加根上下文以提供根对象的定义。A CodeDomSerializer adds a root context to provide a definition of the root object. 无法继承此类。This class cannot be inherited.

RootDesignerSerializerAttribute

指示用于根设计器对象的基序列化程序。Indicates the base serializer to use for a root designer object. 无法继承此类。This class cannot be inherited.

SerializationStore

提供用于存储 ComponentSerializationService 序列化数据的基类。Provides the base class for storing serialization data for the ComponentSerializationService.

SerializeAbsoluteContext

指定序列化程序应处理默认值。Specifies that serializers should handle default values. 无法继承此类。This class cannot be inherited.

StatementContext

提供可将语句序列化到的位置。Provides a location into which statements can be serialized. 无法继承此类。This class cannot be inherited.

TypeCodeDomSerializer

将对象序列化为新类型。Serializes an object to a new type.

结构

MemberRelationship

表示某个对象和某个成员之间的单一关系。Represents a single relationship between an object and a member.

接口

ICodeDomDesignerReload

提供可用于优化设计器的重新加载的接口。Provides an interface that can be used to optimize the reloading of a designer.

IDesignerLoaderHost

提供一个接口,该接口可扩展设计器宿主以支持从序列化状态加载。Provides an interface that can extend a designer host to support loading from a serialized state.

IDesignerLoaderHost2

提供扩展 IDesignerLoaderHost 的接口,以指定在加载设计文档时是否允许发生错误。Provides an interface that extends IDesignerLoaderHost to specify whether errors are tolerated while loading a design document.

IDesignerLoaderService

提供一个接口,该接口可以扩展设计器加载程序以支持外部组件的异步加载。Provides an interface that can extend a designer loader to support asynchronous loading of external components.

IDesignerSerializationManager

提供可以管理设计时序列化的接口。Provides an interface that can manage design-time serialization.

IDesignerSerializationProvider

提供一个支持访问序列化程序的接口。Provides an interface that enables access to a serializer.

IDesignerSerializationService

提供一个可调用序列化和反序列化的接口。Provides an interface that can invoke serialization and deserialization.

INameCreationService

提供可以生成对象的唯一名称的服务。Provides a service that can generate unique names for objects.

枚举

BasicDesignerLoader.ReloadOptions

定义 Reload(BasicDesignerLoader+ReloadOptions) 方法的行为。Defines the behavior of the Reload(BasicDesignerLoader+ReloadOptions) method. 可以使用按位 OR 运算符组合这些标志。These flags can be combined using the bitwise OR operator.

CodeDomLocalizationModel

确定 CodeDom 资源适配器要使用的本地化模型。Determines the localization model to be used by the CodeDom resource adapter.

委托

ResolveNameEventHandler

表示处理序列化管理器的 ResolveName 事件的方法。Represents the method that handles the ResolveName event of a serialization manager.

注解

此命名空间中的类可分为以下几类:The classes in this namespace can be divided into the following categories: