ITtsEngineSite.LoadResource(Uri, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the resource at the specified URI.
public:
System::IO::Stream ^ LoadResource(Uri ^ uri, System::String ^ mediaType);
public System.IO.Stream LoadResource(Uri uri, string mediaType);
abstract member LoadResource : Uri * string -> System.IO.Stream
Public Function LoadResource (uri As Uri, mediaType As String) As Stream
Parameters
- uri
- Uri
The URI of the resource.
- mediaType
- String
The media type of the resource.
Returns
Remarks
Important
Calling methods from classes that implement this interface with untrusted data is a security risk. Call the methods from classes that implement this interface only with trusted data. For more information, see Validate All Inputs.