XamlDesignerSerializationManager 类

定义

为要求高级序列化的 XAML 设计器或其他调用方进行的 XAML 序列化提供服务。Provides services for XAML serialization by XAML designers or other callers that require advanced serialization.

public ref class XamlDesignerSerializationManager : System::Windows::Markup::ServiceProviders
public class XamlDesignerSerializationManager : System.Windows.Markup.ServiceProviders
type XamlDesignerSerializationManager = class
    inherit ServiceProviders
Public Class XamlDesignerSerializationManager
Inherits ServiceProviders
继承
XamlDesignerSerializationManager

注解

XamlDesignerSerializationManager尝试优化对在序列化过程中频繁调用的服务的访问。The XamlDesignerSerializationManager attempts to optimize access to services that are called frequently during the serialization process.

WPFWPF TextBlock.ShouldSerializeInlines还可XamlWriter.Save用作类 (如) 的某些专用ShouldSerialize方法的输入和的重载。 XamlDesignerSerializationManagerA XamlDesignerSerializationManager is also used as an input for certain specialized ShouldSerialize methods on WPFWPF classes such as TextBlock.ShouldSerializeInlines, and for an overload of XamlWriter.Save.

构造函数

XamlDesignerSerializationManager(XmlWriter)

初始化 XamlDesignerSerializationManager 类的新实例。Initializes a new instance of the XamlDesignerSerializationManager class.

属性

XamlWriterMode

获取或设置 XAML 编写器模式。Gets or sets the XAML writer mode.

方法

AddService(Type, Object)

将服务添加到列表。Adds a service to the list.

(继承自 ServiceProviders)
Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetService(Type)

获取指定类型的服务对象。Gets the service object of the specified type.

(继承自 ServiceProviders)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于