Bewerken

Share via


XmlQualifiedName.ToString Method

Definition

Returns the string value of the XmlQualifiedName.

Overloads

ToString()

Returns the string value of the XmlQualifiedName.

ToString(String, String)

Returns the string value of the XmlQualifiedName.

ToString()

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

Returns the string value of the XmlQualifiedName.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

The string value of the XmlQualifiedName in the format of namespace:localname. If the object does not have a namespace defined, this method returns just the local name.

Applies to

ToString(String, String)

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

Returns the string value of the XmlQualifiedName.

public:
 static System::String ^ ToString(System::String ^ name, System::String ^ ns);
public static string ToString (string name, string ns);
public static string ToString (string name, string? ns);
static member ToString : string * string -> string
Public Shared Function ToString (name As String, ns As String) As String

Parameters

name
String

The name of the object.

ns
String

The namespace of the object.

Returns

The string value of the XmlQualifiedName in the format of namespace:localname. If the object does not have a namespace defined, this method returns just the local name.

Applies to