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. [Edit]

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

Parameters

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

Returns

A object containing the resource. [Edit]

Exceptions

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

Remarks

Operation
As described above.

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

[Edit]

Requirements

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