XmlPreloadedResolver Constructor (XmlResolver, XmlKnownDtds, IEqualityComparer<Uri>)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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.Utils (in System.Xml.Utils.dll)
Syntax
'Declaration
Public Sub New ( _
fallbackResolver As XmlResolver, _
preloadedDtds As XmlKnownDtds, _
uriComparer As IEqualityComparer(Of Uri) _
)
public XmlPreloadedResolver(
XmlResolver fallbackResolver,
XmlKnownDtds preloadedDtds,
IEqualityComparer<Uri> uriComparer
)
Parameters
- fallbackResolver
Type: System.Xml.XmlResolver
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 comparing URIs.
Remarks
Use this constructor overload if you want to customize URI comparison.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.