XmlPreloadedResolver::Add Method (Uri^, array<Byte>^)

 

Adds a byte array 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.

Namespace:   System.Xml.Resolvers
Assembly:  System.Xml (in System.Xml.dll)

public:
void Add(
	Uri^ uri,
	array<unsigned char>^ value
)

Parameters

uri
Type: System::Uri^

The URI of the data that is being added to the XmlPreloadedResolver store.

value
Type: array<System::Byte>^

A byte array 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
Return to top
Show: