DllImportAttribute.Value プロパティ

定義

エントリ ポイントを含む DLL ファイルの名前を取得します。

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

プロパティ値

エントリ ポイントを含む DLL ファイルの名前。

注釈

完全パスまたは相対パスを指定できます。 パスを指定しない場合は、DLL が他の方法で読み込まれていない限り、実行時に DLL が現在のパスに存在する必要があります。 ただし、完全修飾パスを使用すると、DLL が移動されると不正確になる可能性があることに注意してください。

適用対象