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).
ruoloStringAttualmente non utilizzato.
ofObjectToReturnconst TypeInfo&Il tipo di oggetto da restituire. L’attuale versione restituisce solo oggetti Stream.

ReturnValue

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

Vedi anche