XmlSerializerAssemblyAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
Initializes a new instance of the XmlSerializerAssemblyAttribute class.
public:
XmlSerializerAssemblyAttribute();
public XmlSerializerAssemblyAttribute ();
Public Sub New ()
Applies to
XmlSerializerAssemblyAttribute(String)
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)
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.