XmlNamespaceMappingCollection.Add(XmlNamespaceMapping) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.