Редагувати

Поділитися через


DllImportAttribute.Value Property

Definition

Gets the name of the DLL file that contains the entry point.

public:
 property System::String ^ Value { System::String ^ get(); };
public string Value { get; }
member this.Value : string
Public ReadOnly Property Value As String

Property Value

The name of the DLL file that contains the entry point.

Remarks

You can provide a full or relative path. If you provide no path, the DLL must be in the current path at run time, unless the DLL is loaded by some other means. Be aware, however, that using a fully qualified path can introduce inaccuracy if the DLL is moved.

Applies to