Import Resolver Delegate
Provides a delegate used to resolve native libraries via callback.
public delegate IntPtr DllImportResolver(System::String ^ libraryName, Assembly ^ assembly, Nullable<DllImportSearchPath> searchPath);
public delegate IntPtr DllImportResolver(string libraryName, Assembly assembly, Nullable<DllImportSearchPath> searchPath);
type DllImportResolver = delegate of string * Assembly * Nullable<DllImportSearchPath> -> nativeint
Public Delegate Function DllImportResolver(libraryName As String, assembly As Assembly, searchPath As Nullable(Of DllImportSearchPath)) As IntPtr
The native library to resolve.
The assembly requesting the resolution.
The handle for the loaded native library on success, or Zero on failure.
Gets an object that represents the method represented by the specified delegate.