XmlXapResolver.GetEntity Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Maps a URI to an object that contains the actual resource.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- absoluteUri
- Type: System.Uri
The URI returned from ResolveUri.
- role
- Type: System.String
The current version of the .NET Framework for Windows Phone 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: System.Type
The type of object to return. The current version only returns System.IO.Stream objects.
Return Value
Type: System.ObjectA System.IO.Stream object. If the stream is not found, an exception is thrown.
Show: