Import Search Path Enum
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.
Specifies the paths that are used to search for DLLs that provide functions for platform invokes.
This enumeration supports a bitwise combination of its member values.
public enum class DllImportSearchPath
[System.Flags] public enum DllImportSearchPath
[<System.Flags>] type DllImportSearchPath =
Public Enum DllImportSearchPath
Include the application directory in the DLL search path.
When searching for assembly dependencies, include the directory that contains the assembly itself, and search that directory first. When used in Native AOT and single-file deployment models, the application's installation directory is considered the "assembly directory" and is searched.
Search the application directory, and then call the Win32 LoadLibraryEx function with the
Include the application directory, the
Search for the dependencies of a DLL in the folder where the DLL is located before searching other folders.
Include any path that was explicitly added to the process-wide search path by using the Win32
Use the DefaultDllImportSearchPathsAttribute attribute to apply a set of paths to an entire assembly or to an individual platform invoke.