GetEntity()

XmlSecureResolver::GetEntity(SharedPtr<Uri>, String, const TypeInfo&) 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

Arguments

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.

Return Value

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

See Also