Brecham.Obex — An OBEX library for the .NET Framework
ObexXmlResolver.GetEntity Method
Maps a URI to an object containing the requested DTD, if the DTD is one of those defined in the OBEX specification. Uses resources embedded in the library and thus make no remote lookups.
[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( UriabsoluteUri, stringrole, TypeofObjectToReturn );
Parameters
absoluteUri
The URI returned from ResolveUri.
role
Not used currently.
ofObjectToReturn
The type of object to return. The current version only returns System.IO.Stream objects.
Return Value
A System.IO.Stream object or a null reference (Nothing in Visual Basic) if a type other than stream is specified.