DesignerSerializerAttribute 构造函数

定义

初始化 DesignerSerializerAttribute 类的新实例。

重载

DesignerSerializerAttribute(String, String)

初始化 DesignerSerializerAttribute 类的新实例。

DesignerSerializerAttribute(String, Type)

初始化 DesignerSerializerAttribute 类的新实例。

DesignerSerializerAttribute(Type, Type)

初始化 DesignerSerializerAttribute 类的新实例。

DesignerSerializerAttribute(String, String)

Source:
DesignerSerializerAttribute.cs
Source:
DesignerSerializerAttribute.cs
Source:
DesignerSerializerAttribute.cs

初始化 DesignerSerializerAttribute 类的新实例。

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

参数

serializerTypeName
String

序列化程序的数据类型的完全限定名。

baseSerializerTypeName
String

序列化程序的基数据类型的完全限定名。 只要序列化程序具有不同的基类型,就可以为一个类提供多个序列化程序。

另请参阅

适用于

DesignerSerializerAttribute(String, Type)

Source:
DesignerSerializerAttribute.cs
Source:
DesignerSerializerAttribute.cs
Source:
DesignerSerializerAttribute.cs

初始化 DesignerSerializerAttribute 类的新实例。

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

参数

serializerTypeName
String

序列化程序的数据类型的完全限定名。

baseSerializerType
Type

序列化程序的基数据类型。 只要序列化程序具有不同的基类型,就可以为一个类提供多个序列化程序。

另请参阅

适用于

DesignerSerializerAttribute(Type, Type)

Source:
DesignerSerializerAttribute.cs
Source:
DesignerSerializerAttribute.cs
Source:
DesignerSerializerAttribute.cs

初始化 DesignerSerializerAttribute 类的新实例。

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

参数

serializerType
Type

序列化程序的数据类型。

baseSerializerType
Type

序列化程序的基数据类型。 只要序列化程序具有不同的基类型,就可以为一个类提供多个序列化程序。

另请参阅

适用于