Evidence.GetAssemblyEvidence Evidence.GetAssemblyEvidence Evidence.GetAssemblyEvidence Evidence.GetAssemblyEvidence Method

定義

指定した型のアセンブリ証拠をコレクションから取得します。Gets assembly evidence of the specified type from the collection.

public:
generic <typename T>
 where T : System::Security::Policy::EvidenceBase T GetAssemblyEvidence();
[System.Runtime.InteropServices.ComVisible(false)]
public T GetAssemblyEvidence<T> () where T : System.Security.Policy.EvidenceBase;
member this.GetAssemblyEvidence : unit -> 'T (requires 'T :> System.Security.Policy.EvidenceBase)
Public Function GetAssemblyEvidence(Of T As EvidenceBase) () As T

型パラメーター

T

取得する証拠の型。The type of the evidence to get.

戻り値

T T T T

アセンブリ証拠コレクション内の T 型の証拠。Evidence of type T in the assembly evidence collection.

注釈

このメソッドから派生した証拠のみを返します、EvidenceBaseクラス。This method returns only evidence that is derived from the EvidenceBase class. その他のクラスから派生した従来の証拠オブジェクトは返されません。It does not return legacy evidence objects that are derived from other classes.

適用対象