NDoc 1.3.1 SDK |

# XsltResourceResolver.GetEntity Method

Maps a URI to an object containing the actual resource.

    [Visual Basic]
    Overrides Public Function GetEntity( _
       ByVal absoluteUri As Uri, _
       ByVal role As String, _
       ByVal ofObjectToReturn As Type _
    ) As Object
    [C#]
    public override object GetEntity(
       Uri absoluteUri,
       string role,
       Type ofObjectToReturn
    );
    [C++]
    public: Object* GetEntity(
       Uri* absoluteUri,
       String* role,
       Type* ofObjectToReturn
    );
    [JScript]
    public override function GetEntity(
       Uri absoluteUri,
       String role,
       Type ofObjectToReturn
    ): Object;

#### Parameters

absoluteUri
  The URI returned from ResolveUri.
role
  unused.
ofObjectToReturn
  The type of object to return. The current implementation only returns System.IO.Stream or System.Xml.XmlReader objects.

#### Return Value

#### See Also

XsltResourceResolver Class | NDoc.Core Namespace