AssemblyLoader.LoadQirBitcode(FileInfo, Stream) 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 any QIR bitcode included as a resource from assemblyFileInfo.
public static bool LoadQirBitcode (System.IO.FileInfo assemblyFileInfo, System.IO.Stream qirStream);
static member LoadQirBitcode : System.IO.FileInfo * System.IO.Stream -> bool
Public Function LoadQirBitcode (assemblyFileInfo As FileInfo, qirStream As Stream) As Boolean
Parameters
- assemblyFileInfo
- FileInfo
The file info of a .NET DLL from which to load the QIR bitcode.
- qirStream
- Stream
A stream to store the QIR bitcode embedded toassemblyFileInfo as a resource.
Returns
True if assemblyFileInfo includes the QIR bitcode resource, false otherwise.
Exceptions
assemblyFileInfo does not exist.