GetEntity()

XmlUrlResolver::GetEntity(SharedPtr<Uri>, String, const TypeInfo&) method

Maps a URI to an object that contains the actual resource.

SharedPtr<Object> System::Xml::XmlUrlResolver::GetEntity(SharedPtr<Uri> absoluteUri, String role, const TypeInfo &ofObjectToReturn) override

Arguments

ParameterTypeDescription
absoluteUriSharedPtr<Uri>The URI returned from XmlResolver::ResolveUri(SharedPtr, String) call.
roleStringCurrently not used.
ofObjectToReturnconst TypeInfo&The type of object to return. The current implementation only returns Stream objects.

Return Value

A stream object or nullptr if a type other than stream is specified.

See Also