Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XmlPreloadedResolver.Add Method (Uri, String)

Adds a Stream, byte array, or string with preloaded data 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.Utils (in System.Xml.Utils.dll)

public void Add(
	Uri uri,
	string value
)

Parameters

uri
Type: System.Uri
The URI of the data that is being added to the XmlPreloadedResolver store.
value
Type: System.String
A String with the data corresponding to the provided URI.

ExceptionCondition
ArgumentNullException

uri or value is null.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft