System::Xml::XmlSecureResolver::GetEntity method

XmlSecureResolver::GetEntity method

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

SharedPtr<Object> System::Xml::XmlSecureResolver::GetEntity(SharedPtr<Uri> absoluteUri, String role, const TypeInfo &ofObjectToReturn) override
ParameterTypeDescription
absoluteUriSharedPtr<Uri>The URI that is returned from XmlSecureResolver::ResolveUri(SharedPtr, String) call.
roleStringCurrently not used.
ofObjectToReturnconst TypeInfo&The type of object to return. The current version only returns Stream objects.

ReturnValue

The stream returned by calling GetEntity on the underlying XmlResolver. If a type other than Stream is specified, the method returns nullptr.

See Also