System::Xml::XmlUrlResolver::GetEntity method

XmlUrlResolver::GetEntity 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
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.

ReturnValue

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

See Also