System::Xml::XmlResolver::GetEntity method

XmlResolver::GetEntity method

When overridden in a derived class, maps a URI to an object that contains the actual resource.

virtual SharedPtr<Object> System::Xml::XmlResolver::GetEntity(SharedPtr<Uri> absoluteUri, String role, const TypeInfo &ofObjectToReturn)=0
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 version only returns Stream objects.

ReturnValue

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

See Also