XmlPreloadedResolver::Add Method (Uri^, Stream^)
.NET Framework (current version)
Adds a Stream to the XmlPreloadedResolver store and maps it to a URI. If the store already contains a mapping for the same URI, the existing mapping is overridden.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- uri
-
Type:
System::Uri^
The URI of the data that is being added to the XmlPreloadedResolver store.
- value
-
Type:
System.IO::Stream^
A Stream with the data that corresponds to the provided URI.
| Exception | Condition |
|---|---|
| ArgumentNullException | uri or value is null. |
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Available since 4.0
Silverlight
Available since 2.0
Show: