SoapQName.Namespace Property


Gets or sets the namespace that is referenced by Key.

Namespace:   System.Runtime.Remoting.Metadata.W3cXsd2001
Assembly:  mscorlib (in mscorlib.dll)

public string Namespace { get; set; }

Property Value

Type: System.String

A String that contains the namespace that is referenced by Key.

The following code example shows how to use the Namespace property. This code example is part of a larger example that is provided for the SoapQName class.

// Print the namespace of the SoapQName class.
Console.WriteLine("The namespace for this instance of SoapQName " +
    "is {0}.", soapQNameInstance.Namespace);

.NET Framework
Available since 1.1
Return to top