XmlPreloadedResolver Constructor (XmlResolver, XmlKnownDtds, IEqualityComparer<Uri>)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the XmlPreloadedResolver class with the specified fallback resolver, preloaded well-known DTDs, and URI equality comparer.

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

public XmlPreloadedResolver(
	XmlResolver fallbackResolver,
	XmlKnownDtds preloadedDtds,
	IEqualityComparer<Uri> uriComparer
)

Parameters

fallbackResolver
Type: System.Xml.XmlResolver

The XmlResolver, XmlXapResolver, or your own resolver.

preloadedDtds
Type: System.Xml.Resolvers.XmlKnownDtds

The well-known DTDs that should be prepopulated into cache.

uriComparer
Type: System.Collections.Generic.IEqualityComparer<Uri>

The implementation of the IEqualityComparer<T> generic interface to use when you compare URIs.

Use this constructor overload if you want to customize URI comparison.

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show: