XmlTypeMapping.Namespace Property

Definition

Gets the XML namespace of the mapped object.

public:
 property System::String ^ Namespace { System::String ^ get(); };
public string Namespace { get; }
member this.Namespace : string
Public ReadOnly Property Namespace As String

Property Value

The XML namespace of the mapped object. The default is an empty string ("").

Remarks

To set a namespace name of an object, apply a SoapTypeAttribute to the class, and set the SoapTypeAttribute.Namespace property to a new value.

Applies to