System::Xml::XmlUrlResolver::GetEntity method

XmlUrlResolver::GetEntity method

Mappa un URI a un oggetto che contiene la risorsa effettiva.

SharedPtr<Object> System::Xml::XmlUrlResolver::GetEntity(SharedPtr<Uri> absoluteUri, String role, const TypeInfo &ofObjectToReturn) override
ParametroTipoDescrizione
absoluteUriSharedPtr<Uri>L’URI restituito dalla chiamata a XmlResolver::ResolveUri(SharedPtr, String).
ruoloStringaAttualmente non utilizzato.
ofObjectToReturnconst TypeInfo&Il tipo di oggetto da restituire. L’implementazione corrente restituisce solo oggetti Stream.

ReturnValue

Un oggetto stream o nullptr se viene specificato un tipo diverso da stream.

Vedi anche