Edit

Share via


XmlSerializerAssemblyAttribute Constructors

Definition

Initializes a new instance of the XmlSerializerAssemblyAttribute class.

Overloads

XmlSerializerAssemblyAttribute()

Initializes a new instance of the XmlSerializerAssemblyAttribute class.

XmlSerializerAssemblyAttribute(String)

Initializes a new instance of the XmlSerializerAssemblyAttribute class with the specified assembly name.

XmlSerializerAssemblyAttribute(String, String)

Initializes a new instance of the XmlSerializerAssemblyAttribute class with the specified assembly name and location of the assembly.

XmlSerializerAssemblyAttribute()

Source:
XmlSerializerAssemblyAttribute.cs
Source:
XmlSerializerAssemblyAttribute.cs
Source:
XmlSerializerAssemblyAttribute.cs

Initializes a new instance of the XmlSerializerAssemblyAttribute class.

public:
 XmlSerializerAssemblyAttribute();
public XmlSerializerAssemblyAttribute ();
Public Sub New ()

Applies to

XmlSerializerAssemblyAttribute(String)

Source:
XmlSerializerAssemblyAttribute.cs
Source:
XmlSerializerAssemblyAttribute.cs
Source:
XmlSerializerAssemblyAttribute.cs

Initializes a new instance of the XmlSerializerAssemblyAttribute class with the specified assembly name.

public:
 XmlSerializerAssemblyAttribute(System::String ^ assemblyName);
public XmlSerializerAssemblyAttribute (string? assemblyName);
public XmlSerializerAssemblyAttribute (string assemblyName);
new System.Xml.Serialization.XmlSerializerAssemblyAttribute : string -> System.Xml.Serialization.XmlSerializerAssemblyAttribute
Public Sub New (assemblyName As String)

Parameters

assemblyName
String

The simple, unencrypted name of the assembly.

Applies to

XmlSerializerAssemblyAttribute(String, String)

Source:
XmlSerializerAssemblyAttribute.cs
Source:
XmlSerializerAssemblyAttribute.cs
Source:
XmlSerializerAssemblyAttribute.cs

Initializes a new instance of the XmlSerializerAssemblyAttribute class with the specified assembly name and location of the assembly.

public:
 XmlSerializerAssemblyAttribute(System::String ^ assemblyName, System::String ^ codeBase);
public XmlSerializerAssemblyAttribute (string? assemblyName, string? codeBase);
public XmlSerializerAssemblyAttribute (string assemblyName, string codeBase);
new System.Xml.Serialization.XmlSerializerAssemblyAttribute : string * string -> System.Xml.Serialization.XmlSerializerAssemblyAttribute
Public Sub New (assemblyName As String, codeBase As String)

Parameters

assemblyName
String

The simple, unencrypted name of the assembly.

codeBase
String

A string that is the URL location of the assembly.

Applies to