DefaultDllImportSearchPathsAttribute Constructor (DllImportSearchPath)

.NET Framework (current version)

Initializes a new instance of the DefaultDllImportSearchPathsAttribute class, specifying the paths to use when searching for the targets of platform invokes.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

public DefaultDllImportSearchPathsAttribute(
	DllImportSearchPath paths


Type: System.Runtime.InteropServices.DllImportSearchPath

A bitwise combination of enumeration values that specify the paths that the LoadLibraryEx function searches during platform invokes.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top