Edit

Share via


XmlNamespaceMappingCollection.Add(XmlNamespaceMapping) Method

Definition

Adds a XmlNamespaceMapping object to this collection.

public:
 virtual void Add(System::Windows::Data::XmlNamespaceMapping ^ mapping);
public void Add (System.Windows.Data.XmlNamespaceMapping mapping);
abstract member Add : System.Windows.Data.XmlNamespaceMapping -> unit
override this.Add : System.Windows.Data.XmlNamespaceMapping -> unit
Public Sub Add (mapping As XmlNamespaceMapping)

Parameters

mapping
XmlNamespaceMapping

The XmlNamespaceMapping object to add. This cannot be null.

Implements

Exceptions

If mapping is null.

If the Uri of the XmlNamespaceMapping object is null.

Applies to