AppDomain.ApplyPolicy(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ポリシーが適用された後のアセンブリ表示名を返します。
public:
System::String ^ ApplyPolicy(System::String ^ assemblyName);
public string ApplyPolicy(string assemblyName);
[System.Runtime.InteropServices.ComVisible(false)]
public string ApplyPolicy(string assemblyName);
member this.ApplyPolicy : string -> string
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.ApplyPolicy : string -> string
Public Function ApplyPolicy (assemblyName As String) As String
パラメーター
返品
ポリシーが適用された後のアセンブリ表示名を含む文字列。
- 属性
注釈
ApplyPolicy メソッドは、アセンブリの表示名を取得し、ポリシー後の表示名を返します。 これは、リフレクションのみのコンテキストではポリシーが適用されないため、ポリシーを使用してアセンブリを読み込む必要がある場合に便利です。