System::Xml::XmlSecureResolver::GetEntity metodo

XmlSecureResolver::GetEntity method

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

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

ReturnValue

Il flusso restituito chiamando GetEntity sul XmlResolver sottostante. Se viene specificato un tipo diverso da Stream, il metodo restituisce nullptr.

Vedi anche