AssemblyLoader.LoadQirBitcode(FileInfo, Stream) Method

Definition

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

Boolean

True if assemblyFileInfo includes the QIR bitcode resource, false otherwise.

Exceptions

assemblyFileInfo does not exist.

Applies to