RootDesignerSerializerAttribute 构造函数

定义

使用指定特性初始化 RootDesignerSerializerAttribute 类的新实例。Initializes a new instance of the RootDesignerSerializerAttribute class using the specified attributes.

重载

RootDesignerSerializerAttribute(String, String, Boolean)

使用指定特性初始化 RootDesignerSerializerAttribute 类的新实例。Initializes a new instance of the RootDesignerSerializerAttribute class using the specified attributes.

RootDesignerSerializerAttribute(String, Type, Boolean)

使用指定特性初始化 RootDesignerSerializerAttribute 类的新实例。Initializes a new instance of the RootDesignerSerializerAttribute class using the specified attributes.

RootDesignerSerializerAttribute(Type, Type, Boolean)

使用指定特性初始化 RootDesignerSerializerAttribute 类的新实例。Initializes a new instance of the RootDesignerSerializerAttribute class using the specified attributes.

RootDesignerSerializerAttribute(String, String, Boolean)

使用指定特性初始化 RootDesignerSerializerAttribute 类的新实例。Initializes a new instance of the RootDesignerSerializerAttribute class using the specified attributes.

public:
 RootDesignerSerializerAttribute(System::String ^ serializerTypeName, System::String ^ baseSerializerTypeName, bool reloadable);
public RootDesignerSerializerAttribute (string serializerTypeName, string baseSerializerTypeName, bool reloadable);
new System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute : string * string * bool -> System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute
Public Sub New (serializerTypeName As String, baseSerializerTypeName As String, reloadable As Boolean)

参数

serializerTypeName
String

序列化程序的数据类型的完全限定名。The fully qualified name of the data type of the serializer.

baseSerializerTypeName
String

序列化程序的基类型的名称。The name of the base type of the serializer. 一个类可以包含多个序列化程序,因为所有序列化程序都具有不同的基类型。A class can include multiple serializers as they all have different base types.

reloadable
Boolean

如果此序列化程序支持动态重新加载文档,则为 true;否则,为 falsetrue if this serializer supports dynamic reloading of the document; otherwise, false.

注解

创建新的设计器序列化属性。Creates a new designer serialization attribute.

适用于

产品 Introduced

RootDesignerSerializerAttribute(String, Type, Boolean)

使用指定特性初始化 RootDesignerSerializerAttribute 类的新实例。Initializes a new instance of the RootDesignerSerializerAttribute class using the specified attributes.

public:
 RootDesignerSerializerAttribute(System::String ^ serializerTypeName, Type ^ baseSerializerType, bool reloadable);
public RootDesignerSerializerAttribute (string serializerTypeName, Type baseSerializerType, bool reloadable);
new System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute : string * Type * bool -> System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute
Public Sub New (serializerTypeName As String, baseSerializerType As Type, reloadable As Boolean)

参数

serializerTypeName
String

序列化程序的数据类型的完全限定名。The fully qualified name of the data type of the serializer.

baseSerializerType
Type

序列化程序的基类型的名称。The name of the base type of the serializer. 一个类可以包含多个序列化程序,因为所有序列化程序都具有不同的基类型。A class can include multiple serializers, as they all have different base types.

reloadable
Boolean

如果此序列化程序支持动态重新加载文档,则为 true;否则,为 falsetrue if this serializer supports dynamic reloading of the document; otherwise, false.

注解

创建新的设计器序列化属性。Creates a new designer serialization attribute.

适用于

产品 Introduced

RootDesignerSerializerAttribute(Type, Type, Boolean)

使用指定特性初始化 RootDesignerSerializerAttribute 类的新实例。Initializes a new instance of the RootDesignerSerializerAttribute class using the specified attributes.

public:
 RootDesignerSerializerAttribute(Type ^ serializerType, Type ^ baseSerializerType, bool reloadable);
public RootDesignerSerializerAttribute (Type serializerType, Type baseSerializerType, bool reloadable);
new System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute : Type * Type * bool -> System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute
Public Sub New (serializerType As Type, baseSerializerType As Type, reloadable As Boolean)

参数

serializerType
Type

序列化程序的数据类型。The data type of the serializer.

baseSerializerType
Type

序列化程序的基类型。The base type of the serializer. 一个类可以包含多个序列化程序,因为所有序列化程序都具有不同的基类型。A class can include multiple serializers as they all have different base types.

reloadable
Boolean

如果此序列化程序支持动态重新加载文档,则为 true;否则,为 falsetrue if this serializer supports dynamic reloading of the document; otherwise, false.

注解

创建新的设计器序列化属性。Creates a new designer serialization attribute.

适用于

产品 Introduced