Redigeeri

Jagamisviis:


XmlXapResolver.GetEntity(Uri, String, Type) Method

Definition

Maps a URI to an object containing the actual resource.

public:
 override System::Object ^ GetEntity(Uri ^ absoluteUri, System::String ^ role, Type ^ ofObjectToReturn);
public override object GetEntity (Uri absoluteUri, string role, Type ofObjectToReturn);
override this.GetEntity : Uri * string * Type -> obj
Public Overrides Function GetEntity (absoluteUri As Uri, role As String, ofObjectToReturn As Type) As Object

Parameters

absoluteUri
Uri

The URI returned from ResolveUri(Uri, String).

role
String

The current version does not use this parameter when resolving URIs. This is provided for future extensibility purposes. For example, this can be mapped to the xlink: role and used as an implementation specific argument in other scenarios.

ofObjectToReturn
Type

The type of object to return. The current version only returns Stream objects.

Returns

A Stream object. If the stream is not found, an exception is thrown.

Applies to