Edit

Share via


XmlQualifiedName Constructors

Definition

Initializes a new instance of the XmlQualifiedName class.

Overloads

XmlQualifiedName()

Initializes a new instance of the XmlQualifiedName class.

XmlQualifiedName(String)

Initializes a new instance of the XmlQualifiedName class with the specified name.

XmlQualifiedName(String, String)

Initializes a new instance of the XmlQualifiedName class with the specified name and namespace.

XmlQualifiedName()

Source:
XmlQualifiedName.cs
Source:
XmlQualifiedName.cs
Source:
XmlQualifiedName.cs

Initializes a new instance of the XmlQualifiedName class.

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

Remarks

The object created has no name or namespace defined.

Applies to

XmlQualifiedName(String)

Source:
XmlQualifiedName.cs
Source:
XmlQualifiedName.cs
Source:
XmlQualifiedName.cs

Initializes a new instance of the XmlQualifiedName class with the specified name.

public:
 XmlQualifiedName(System::String ^ name);
public XmlQualifiedName (string name);
public XmlQualifiedName (string? name);
new System.Xml.XmlQualifiedName : string -> System.Xml.XmlQualifiedName
Public Sub New (name As String)

Parameters

name
String

The local name to use as the name of the XmlQualifiedName object.

Remarks

The object created does not have a namespace defined.

Applies to

XmlQualifiedName(String, String)

Source:
XmlQualifiedName.cs
Source:
XmlQualifiedName.cs
Source:
XmlQualifiedName.cs

Initializes a new instance of the XmlQualifiedName class with the specified name and namespace.

public:
 XmlQualifiedName(System::String ^ name, System::String ^ ns);
public XmlQualifiedName (string name, string ns);
public XmlQualifiedName (string? name, string? ns);
new System.Xml.XmlQualifiedName : string * string -> System.Xml.XmlQualifiedName
Public Sub New (name As String, ns As String)

Parameters

name
String

The local name to use as the name of the XmlQualifiedName object.

ns
String

The namespace for the XmlQualifiedName object.

Applies to