Redigeeri

Jagamisviis:


DefaultDllImportSearchPathsAttribute.Paths Property

Definition

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

public:
 property System::Runtime::InteropServices::DllImportSearchPath Paths { System::Runtime::InteropServices::DllImportSearchPath get(); };
public System.Runtime.InteropServices.DllImportSearchPath Paths { get; }
member this.Paths : System.Runtime.InteropServices.DllImportSearchPath
Public ReadOnly Property Paths As DllImportSearchPath

Property Value

A bitwise combination of enumeration values that specify search paths for platform invokes.

Remarks

When the DefaultDllImportSearchPathsAttribute attribute is applied to an assembly, the paths are used by default to search for the targets of any platform invokes that are performed by code in the assembly. When the attribute is applied to an individual platform invoke, the paths are used to search for the target of the individual platform invoke and override the paths that are specified for the assembly.

Applies to