Mono Class Library: System.Xml.XmlResolver Overview | Members

System.Xml.XmlResolver.GetEntity Method

Maps a URI to an object containing the actual resource that the URI represents.

public abstract object GetEntity (Uri absoluteUri, string role, Type type)

Parameters

absoluteUri
An instance of the Uri class containing an absolute URI.
role
A string containing the xlink:role, or used as an implementation specific argument in other scenarios.
type
Documentation for this section has not yet been entered.

Returns

A object containing the resource.

Exceptions

TypeReason
ArgumentNullExceptionabsoluteUri is null.
System.Xml.XmlExceptionofObjectToReturn is not a supported type.
NullReferenceExceptionabsoluteUri is null.

Remarks

Operation
As described above.

Note to Inheritors
At a minimum, supporting the return of a System.IO.Stream object is required.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0