Name

XmlResolver

Synopsis

This class resolves external resources according to their URIs. This class is used to retrieve an external DTD or Schema in XML documents and also obtains resources from imported stylesheets (<xsl:import>) and included files (<xml:include>). This MustInherit class is implemented by XmlUrlResolver.

Public MustInherit Class XmlResolver
                  ' Protected Constructors
   Protected Sub New() 
' Public Instance Properties
   MustInherit Public WriteOnly Property Credentials As ICredentials  
' Public Instance Methods
   MustInherit Public Function GetEntity(
        ByVal absoluteUri As Uri, ByVal role As String, 
        ByVal ofObjectToReturn As Type) As Object  
   MustInherit Public Function ResolveUri(
        ByVal baseUri As Uri, 
        ByVal relativeUri As String) As Uri  
End Class

Subclasses

XmlUrlResolver

Passed To

XmlDocument.XmlResolver, XmlTextReader.XmlResolver, XmlValidatingReader.XmlResolver, System.Xml.Xsl.XslTransform.{Load(), XmlResolver}

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.