GetEntity()

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

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 version only returns Stream objects.

Return Value

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

See Also