次の方法で共有


AssemblyBuilder.Location プロパティ

マニフェストを格納している読み込み済みファイルがシャドウ コピーされていない場合に、このファイルの場所をコードベース書式で取得します。

Overrides Public ReadOnly Property Location As String
[C#]
public override string Location {get;}
[C++]
public: __property String* get_Location();
[JScript]
public override function get Location() : String;

プロパティ値

マニフェストを格納している読み込み済みファイルの場所。読み込み済みファイルがシャドウ コピーされている場合、場所はシャドウ コピーされる前のファイルの位置です。

例外

例外の種類 条件
NotSupportedException このメソッドは、現在サポートされていません。
SecurityException 呼び出し元に、必要なアクセス許可がありません。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

AssemblyBuilder クラス | AssemblyBuilder メンバ | System.Reflection.Emit 名前空間