XmlXapResolver::GetEntity Method (Uri^, String^, Type^)
.NET Framework (current version)
Maps a URI to an object containing the actual resource.
Assembly: System.Xml (in System.Xml.dll)
public: virtual Object^ GetEntity( Uri^ absoluteUri, String^ role, Type^ ofObjectToReturn ) override
Parameters
- absoluteUri
-
Type:
System::Uri^
The URI returned from ResolveUri.
- role
-
Type:
System::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:
System::Type^
The type of object to return. The current version only returns Stream objects.
Return Value
Type: System::Object^A Stream object. If the stream is not found, an exception is thrown.
.NET Framework
Available since 4.5
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 4.5
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: