AppDomain.ApplyPolicy(String) メソッド

定義

ポリシーが適用された後のアセンブリ表示名を返します。

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

パラメーター

assemblyName
String

アセンブリの表示名 ( FullName プロパティによって提供されるフォーム)。

返品

ポリシーが適用された後のアセンブリ表示名を含む文字列。

属性

注釈

ApplyPolicy メソッドは、アセンブリの表示名を取得し、ポリシー後の表示名を返します。 これは、リフレクションのみのコンテキストではポリシーが適用されないため、ポリシーを使用してアセンブリを読み込む必要がある場合に便利です。

適用対象